* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

:root {
  --font-ui: "Segoe UI Variable", "Trebuchet MS", "Franklin Gothic Medium", sans-serif;
  --font-display: "Aptos Display", "Trebuchet MS", "Gill Sans", sans-serif;
  --employee-bg: radial-gradient(circle at 14% 20%, rgba(102, 214, 164, 0.26), transparent 34%),
    radial-gradient(circle at 86% 14%, rgba(166, 233, 202, 0.22), transparent 28%),
    linear-gradient(135deg, #f1fbf5 0%, #e3f7ea 36%, #d3f0df 100%);
  --employee-card: rgba(255, 255, 255, 0.84);
  --employee-border: rgba(96, 171, 117, 0.2);
  --employee-heading: #1f4730;
  --employee-copy: #4a6955;
  --employee-input: rgba(240, 255, 250, 0.92);
  --employee-input-border: rgba(95, 154, 107, 0.2);
  --employee-primary: linear-gradient(135deg, #6fba84 0%, #4f9b64 100%);
  --employee-shadow: 0 28px 60px rgba(59, 104, 68, 0.14);
  --admin-bg: radial-gradient(circle at 18% 16%, rgba(52, 121, 255, 0.2), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(0, 224, 255, 0.12), transparent 24%),
    linear-gradient(135deg, #08111e 0%, #0e1b30 40%, #0b1730 100%);
  --admin-card: rgba(11, 20, 37, 0.74);
  --admin-border: rgba(117, 167, 255, 0.18);
  --admin-heading: #f3f7ff;
  --admin-copy: #a4b8da;
  --admin-input: rgba(10, 21, 38, 0.8);
  --admin-input-border: rgba(108, 147, 221, 0.24);
  --admin-primary: linear-gradient(135deg, #2b67ff 0%, #11b5f4 100%);
  --admin-shadow: 0 34px 80px rgba(3, 8, 20, 0.52);
}

body {
  min-height: 100vh;
  font-family: var(--font-ui);
  color: #102227;
  background: var(--employee-bg);
  -webkit-transition: background 0.45s ease, color 0.3s ease;
  transition: background 0.45s ease, color 0.3s ease;
}

body.login-mode-office-admin {
  color: #e8f0ff;
  background: var(--admin-bg);
}

body.login-mode-super-admin {
  color: #f2f3f5;
  background:
    radial-gradient(circle at 18% 16%, rgba(148, 148, 148, 0.12), transparent 26%),
    radial-gradient(circle at 84% 12%, rgba(78, 78, 78, 0.14), transparent 24%),
    linear-gradient(135deg, #090909 0%, #161616 42%, #202020 100%);
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.page-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.employee-login-media,
.employee-login-overlay,
.office-admin-login-media,
.office-admin-login-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  -webkit-transition: opacity 0.35s ease;
  transition: opacity 0.35s ease;
}

.employee-login-media,
.office-admin-login-media {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.employee-login-overlay {
  background:
    linear-gradient(118deg, rgba(6, 10, 18, 0.72), rgba(12, 18, 30, 0.38)),
    radial-gradient(circle at 18% 24%, rgba(220, 193, 148, 0.16), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(124, 144, 194, 0.12), transparent 32%);
}

body.login-mode-employee .employee-login-media,
body.login-mode-employee .employee-login-overlay {
  opacity: 1;
}

.office-admin-login-overlay {
  background:
    linear-gradient(120deg, rgba(5, 10, 24, 0.78), rgba(13, 20, 38, 0.42)),
    radial-gradient(circle at 20% 22%, rgba(114, 141, 255, 0.18), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(218, 173, 105, 0.14), transparent 30%);
}

body.login-mode-office-admin .office-admin-login-media,
body.login-mode-office-admin .office-admin-login-overlay {
  opacity: 1;
}

.ambient {
  position: absolute;
  border-radius: 999px;
  -webkit-filter: blur(10px);
          filter: blur(10px);
  opacity: 0.8;
  -webkit-animation: drift 14s ease-in-out infinite;
          animation: drift 14s ease-in-out infinite;
}

.ambient-a {
  top: -120px;
  left: -40px;
  width: 340px;
  height: 340px;
  background: rgba(82, 219, 174, 0.25);
}

.ambient-b {
  right: -120px;
  bottom: -120px;
  width: 420px;
  height: 420px;
  background: rgba(65, 196, 255, 0.2);
  -webkit-animation-delay: -4s;
          animation-delay: -4s;
}

.ambient-c {
  top: 32%;
  right: 18%;
  width: 240px;
  height: 240px;
  background: rgba(120, 231, 201, 0.15);
  -webkit-animation-delay: -8s;
          animation-delay: -8s;
}

.grid-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  -webkit-transition: opacity 0.4s ease;
  transition: opacity 0.4s ease;
}

body.login-mode-office-admin .grid-glow {
  opacity: 1;
  background-image:
    linear-gradient(rgba(95, 121, 176, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 121, 176, 0.12) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(circle at center, black 35%, transparent 82%);
          mask-image: radial-gradient(circle at center, black 35%, transparent 82%);
}

body.login-mode-super-admin .grid-glow {
  opacity: 1;
  background-image:
    linear-gradient(rgba(170, 170, 170, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(170, 170, 170, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(circle at center, black 32%, transparent 82%);
          mask-image: radial-gradient(circle at center, black 32%, transparent 82%);
}

.login-layout {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(340px, 1.1fr) minmax(380px, 460px);
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  padding: 28px;
  gap: 28px;
}

body.login-mode-employee .login-layout {
  grid-template-columns: minmax(320px, 1fr);
  justify-items: end;
}

body.login-mode-office-admin .login-layout {
  grid-template-columns: minmax(320px, 1fr);
  justify-items: start;
}

.hero-panel,
.form-panel {
  min-height: calc(100vh - 56px);
}

body.login-mode-employee .hero-panel {
  display: none;
}

body.login-mode-office-admin .hero-panel {
  display: none;
}

body.login-mode-employee .form-panel {
  width: 100%;
  justify-self: end;
  max-width: 520px;
}

body.login-mode-office-admin .form-panel {
  width: 100%;
  justify-self: start;
  max-width: 520px;
}

.hero-panel-inner {
  position: relative;
  height: 100%;
  border-radius: 34px;
  padding: 48px;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

body.login-mode-employee .hero-panel-inner {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(230, 255, 248, 0.58)),
    linear-gradient(135deg, rgba(17, 185, 129, 0.08), rgba(35, 167, 240, 0.12));
  border: 1px solid rgba(94, 186, 160, 0.16);
  -webkit-box-shadow: 0 28px 50px rgba(41, 128, 109, 0.12);
          box-shadow: 0 28px 50px rgba(41, 128, 109, 0.12);
}

body.login-mode-office-admin .hero-panel-inner {
  background:
    linear-gradient(155deg, rgba(18, 32, 59, 0.92), rgba(7, 14, 28, 0.84)),
    linear-gradient(135deg, rgba(43, 103, 255, 0.08), rgba(17, 181, 244, 0.06));
  border: 1px solid rgba(111, 148, 225, 0.18);
  -webkit-box-shadow: 0 36px 70px rgba(2, 8, 20, 0.45);
          box-shadow: 0 36px 70px rgba(2, 8, 20, 0.45);
}

body.login-mode-super-admin .hero-panel-inner {
  background:
    linear-gradient(155deg, rgba(24, 24, 24, 0.96), rgba(10, 10, 10, 0.9)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(158, 158, 158, 0.16);
  -webkit-box-shadow: 0 36px 70px rgba(0, 0, 0, 0.48);
          box-shadow: 0 36px 70px rgba(0, 0, 0, 0.48);
}

.hero-panel-inner::before,
.hero-panel-inner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

body.login-mode-employee .hero-panel-inner::before {
  width: 360px;
  height: 360px;
  right: -120px;
  top: -120px;
  background: radial-gradient(circle, rgba(80, 233, 182, 0.26), transparent 70%);
}

body.login-mode-employee .hero-panel-inner::after {
  width: 300px;
  height: 300px;
  left: -80px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(43, 183, 233, 0.22), transparent 72%);
}

body.login-mode-office-admin .hero-panel-inner::before {
  inset: 24px;
  border-radius: 28px;
  border: 1px solid rgba(124, 171, 255, 0.12);
}

body.login-mode-office-admin .hero-panel-inner::after {
  width: 420px;
  height: 420px;
  right: -120px;
  top: -160px;
  background: radial-gradient(circle, rgba(31, 123, 255, 0.28), transparent 68%);
}

body.login-mode-super-admin .hero-panel-inner::before {
  inset: 24px;
  border-radius: 28px;
  border: 1px solid rgba(173, 173, 173, 0.1);
}

body.login-mode-super-admin .hero-panel-inner::after {
  width: 420px;
  height: 420px;
  right: -120px;
  top: -160px;
  background: radial-gradient(circle, rgba(142, 142, 142, 0.18), transparent 68%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.hero-kicker {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

body.login-mode-employee .hero-kicker {
  background: rgba(18, 185, 129, 0.1);
  color: #148462;
}

body.login-mode-office-admin .hero-kicker {
  background: rgba(57, 106, 201, 0.18);
  color: #9fc4ff;
}

body.login-mode-super-admin .hero-kicker {
  background: rgba(255, 255, 255, 0.08);
  color: #d0d0d0;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 4.3rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

body.login-mode-employee .hero-copy h1 {
  color: #0d3b3a;
}

body.login-mode-office-admin .hero-copy h1 {
  color: #f5f8ff;
}

body.login-mode-super-admin .hero-copy h1 {
  color: #fafafa;
}

.hero-copy p {
  margin-top: 16px;
  max-width: 520px;
  font-size: 1.05rem;
  line-height: 1.75;
}

body.login-mode-employee .hero-copy p {
  color: #3f625f;
}

body.login-mode-office-admin .hero-copy p {
  color: #a9bcdb;
}

body.login-mode-super-admin .hero-copy p {
  color: #b8b8b8;
}

.employee-visual,
.admin-visual {
  position: relative;
  z-index: 1;
}

.employee-visual {
  min-height: 280px;
}

.employee-visual-card {
  position: absolute;
  border-radius: 26px;
  padding: 22px 24px;
  backdrop-filter: blur(12px);
}

.pulse-card {
  left: 0;
  bottom: 0;
  width: min(340px, 90%);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(91, 178, 153, 0.18);
  -webkit-box-shadow: 0 20px 45px rgba(32, 128, 108, 0.12);
          box-shadow: 0 20px 45px rgba(32, 128, 108, 0.12);
}

.pulse-card strong,
.stat-card strong,
.admin-visual-panel strong,
.chip-value {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
}

.eyebrow,
.chip-label {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pulse-card .eyebrow,
.stat-card p,
.pulse-card p {
  color: #527570;
}

.pulse-card strong,
.stat-card strong {
  color: #123d38;
}

.pulse-card::after {
  content: "";
  position: absolute;
  top: 22px;
  right: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #12b981;
  -webkit-box-shadow: 0 0 0 12px rgba(18, 185, 129, 0.14);
          box-shadow: 0 0 0 12px rgba(18, 185, 129, 0.14);
}

.stat-card {
  right: 12%;
  top: 8%;
  width: min(280px, 80%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 14px;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  background: rgba(12, 160, 121, 0.12);
  border: 1px solid rgba(73, 172, 145, 0.18);
}

.stat-dot {
  width: 14px;
  height: 14px;
  margin-top: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea96d, #44d7c5);
  -webkit-box-shadow: 0 0 0 10px rgba(18, 185, 129, 0.14);
          box-shadow: 0 0 0 10px rgba(18, 185, 129, 0.14);
}

.floating-orb {
  position: absolute;
  border-radius: 50%;
  -webkit-animation: bob 9s ease-in-out infinite;
          animation: bob 9s ease-in-out infinite;
}

.orb-one {
  width: 88px;
  height: 88px;
  top: 30%;
  left: 28%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.85), rgba(96, 235, 208, 0.25));
}

.orb-two {
  width: 44px;
  height: 44px;
  right: 22%;
  bottom: 18%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.82), rgba(42, 186, 245, 0.3));
  -webkit-animation-delay: -3s;
          animation-delay: -3s;
}

.orb-three {
  width: 28px;
  height: 28px;
  left: 18%;
  top: 18%;
  background: rgba(17, 185, 129, 0.26);
  -webkit-animation-delay: -5s;
          animation-delay: -5s;
}

.admin-visual {
  display: none;
  min-height: 300px;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 18px;
}

.admin-visual-panel {
  width: min(360px, 100%);
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(14, 27, 49, 0.94), rgba(12, 22, 41, 0.72));
  border: 1px solid rgba(103, 150, 255, 0.18);
  -webkit-box-shadow: 0 22px 48px rgba(3, 9, 20, 0.35);
          box-shadow: 0 22px 48px rgba(3, 9, 20, 0.35);
}

.admin-visual-panel .eyebrow,
.admin-chip .chip-label {
  color: #89aef3;
}

.admin-visual-panel strong,
.admin-chip .chip-value {
  color: #f5f8ff;
}

.admin-visual-panel p {
  margin-top: 10px;
  color: #9eb3d5;
  line-height: 1.65;
}

.admin-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 14px;
  width: min(340px, 100%);
}

.admin-chip {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(89, 129, 208, 0.18);
  background: rgba(8, 17, 31, 0.7);
}

.form-panel {
  display: grid;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.login-card {
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
  border-radius: 30px;
  padding: 34px;
  -webkit-transition: background 0.35s ease, border-color 0.35s ease, -webkit-box-shadow 0.35s ease, -webkit-transform 0.35s ease;
  transition: background 0.35s ease, border-color 0.35s ease, -webkit-box-shadow 0.35s ease, -webkit-transform 0.35s ease;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease, -webkit-box-shadow 0.35s ease, -webkit-transform 0.35s ease;
}

body.login-mode-employee .login-card {
  background:
    linear-gradient(160deg, rgba(17, 22, 34, 0.84), rgba(10, 14, 24, 0.78)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-box-shadow: 0 42px 100px rgba(1, 3, 8, 0.46);
          box-shadow: 0 42px 100px rgba(1, 3, 8, 0.46);
  backdrop-filter: blur(20px);
}

body.login-mode-office-admin .login-card {
  background:
    linear-gradient(160deg, rgba(29, 34, 46, 0.9), rgba(16, 20, 30, 0.84)),
    linear-gradient(135deg, rgba(196, 205, 226, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(183, 191, 210, 0.18);
  -webkit-box-shadow: 0 42px 100px rgba(6, 8, 14, 0.54);
          box-shadow: 0 42px 100px rgba(6, 8, 14, 0.54);
  backdrop-filter: blur(20px);
}

body.login-mode-super-admin .login-card {
  background: rgba(20, 20, 20, 0.88);
  border: 1px solid rgba(153, 153, 153, 0.14);
  -webkit-box-shadow: 0 34px 80px rgba(0, 0, 0, 0.5);
          box-shadow: 0 34px 80px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
}

.logo-section {
  margin-bottom: 24px;
}

.brand-lockup {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.logo {
  width: 66px;
  height: 66px;
  border-radius: 20px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.brand-copy {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 3px;
}

.brand-name {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-caption {
  font-size: 0.88rem;
}

body.login-mode-employee .brand-name,
body.login-mode-employee .logo-section h2 {
  color: #f7f4ef;
}

body.login-mode-office-admin .brand-name,
body.login-mode-office-admin .logo-section h2 {
  color: #f5f5f7;
}

body.login-mode-super-admin .brand-name,
body.login-mode-super-admin .logo-section h2 {
  color: #f4f4f4;
}

body.login-mode-employee .brand-caption,
body.login-mode-employee .logo-section p {
  color: rgba(221, 225, 236, 0.84);
}

body.login-mode-office-admin .brand-caption,
body.login-mode-office-admin .logo-section p {
  color: rgba(206, 211, 223, 0.84);
}

body.login-mode-super-admin .brand-caption,
body.login-mode-super-admin .logo-section p {
  color: #b4b4b4;
}

.role-badge {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.login-mode-employee .role-badge {
  background: rgba(255, 255, 255, 0.07);
  color: #f1dfbf;
  border: 1px solid rgba(241, 223, 191, 0.22);
}

body.login-mode-office-admin .role-badge {
  background: rgba(205, 212, 229, 0.1);
  color: #e3e8f5;
  border: 1px solid rgba(205, 212, 229, 0.2);
}

body.login-mode-super-admin .role-badge {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e2e2;
  border: 1px solid rgba(180, 180, 180, 0.14);
}

.logo-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 2.4vw, 2.45rem);
  letter-spacing: -0.03em;
}

.logo-section p {
  margin-top: 8px;
  font-size: 0.98rem;
  line-height: 1.7;
}

.input-group {
  margin-bottom: 16px;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.login-mode-employee .input-group label {
  color: rgba(214, 219, 233, 0.88);
}

body.login-mode-office-admin .input-group label {
  color: rgba(210, 214, 224, 0.82);
}

body.login-mode-super-admin .input-group label {
  color: #afafaf;
}

.input-group input {
  width: 100%;
  height: 56px;
  border-radius: 16px;
  padding: 0 16px;
  font: inherit;
  font-size: 1rem;
  outline: none;
  -webkit-transition: border-color 0.2s ease, background 0.2s ease, -webkit-box-shadow 0.2s ease;
  transition: border-color 0.2s ease, background 0.2s ease, -webkit-box-shadow 0.2s ease;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, -webkit-box-shadow 0.2s ease;
}

body.login-mode-employee .input-group input {
  color: #f5f7fb;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

body.login-mode-employee .input-group input:focus {
  border-color: rgba(240, 214, 165, 0.5);
  -webkit-box-shadow: 0 0 0 5px rgba(240, 214, 165, 0.12);
          box-shadow: 0 0 0 5px rgba(240, 214, 165, 0.12);
}

body.login-mode-office-admin .input-group input {
  color: #f4f7ff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(183, 191, 210, 0.16);
}

body.login-mode-super-admin .input-group input {
  color: #f3f3f3;
  background: rgba(10, 10, 10, 0.82);
  border: 1px solid rgba(128, 128, 128, 0.18);
}

body.login-mode-office-admin .input-group input:focus {
  border-color: rgba(204, 211, 226, 0.42);
  -webkit-box-shadow: 0 0 0 5px rgba(183, 191, 210, 0.12);
          box-shadow: 0 0 0 5px rgba(183, 191, 210, 0.12);
}

body.login-mode-super-admin .input-group input:focus {
  border-color: rgba(172, 172, 172, 0.34);
  -webkit-box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.08);
          box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.08);
}

.login-btn,
.attendance-btn {
  width: 100%;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  -webkit-transition: -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease, -webkit-filter 0.2s ease;
  transition: -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease, -webkit-filter 0.2s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease, -webkit-filter 0.2s ease;
}

.login-btn {
  height: 58px;
  margin-top: 8px;
  border-radius: 18px;
  color: #fff;
  font-size: 1.08rem;
}

body.login-mode-employee .login-btn {
  color: #17120b;
  background: linear-gradient(135deg, #f0dfbf 0%, #bb945e 100%);
  -webkit-box-shadow: 0 22px 42px rgba(12, 13, 18, 0.28);
          box-shadow: 0 22px 42px rgba(12, 13, 18, 0.28);
}

body.login-mode-office-admin .login-btn {
  color: #17110a;
  background: linear-gradient(135deg, #d8bf8a 0%, #8b6b38 100%);
  -webkit-box-shadow: 0 22px 42px rgba(6, 11, 24, 0.3);
          box-shadow: 0 22px 42px rgba(6, 11, 24, 0.3);
}

body.login-mode-super-admin .login-btn {
  background: linear-gradient(135deg, #4a4a4a 0%, #262626 100%);
  -webkit-box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3);
          box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3);
}

.attendance-btn {
  height: 52px;
  border-radius: 16px;
  color: #f3f5fa;
  font-size: 0.98rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.login-btn:hover,
.attendance-btn:hover {
  -webkit-transform: translateY(-1px);
          transform: translateY(-1px);
  -webkit-filter: brightness(1.03);
          filter: brightness(1.03);
}

.secondary-actions {
  margin-top: 16px;
}

.role-switch-wrap {
  text-align: center;
}

#switchRoleLink {
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 600;
}

body.login-mode-employee #switchRoleLink {
  color: #167f63;
}

body.login-mode-office-admin #switchRoleLink {
  color: #cddcff;
}

body.login-mode-super-admin #switchRoleLink {
  color: #d1d1d1;
}

#switchRoleLink:hover {
  text-decoration: underline;
}

.footer-text {
  margin-top: 20px;
  text-align: center;
  font-size: 0.84rem;
}

body.login-mode-employee .footer-text {
  color: #64827d;
}

body.login-mode-office-admin .footer-text {
  color: rgba(183, 195, 223, 0.74);
}

body.login-mode-super-admin .footer-text {
  color: #9a9a9a;
}

#loginMessage {
  margin-top: 12px;
  font-size: 14px;
}

body.login-mode-employee #employeeVisual {
  display: block;
}

body.login-mode-employee #adminVisual {
  display: none;
}

body.login-mode-office-admin #employeeVisual {
  display: none;
}

body.login-mode-office-admin #adminVisual {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

body.login-mode-super-admin #employeeVisual {
  display: none;
}

body.login-mode-super-admin #adminVisual {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

body.login-mode-office-admin #attendanceBtn {
  display: none;
}

body.login-mode-super-admin #attendanceBtn {
  display: none;
}

@-webkit-keyframes drift {
  0%,
  100% {
    -webkit-transform: translate3d(0, 0, 0) scale(1);
            transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    -webkit-transform: translate3d(18px, -18px, 0) scale(1.05);
            transform: translate3d(18px, -18px, 0) scale(1.05);
  }
}

@keyframes drift {
  0%,
  100% {
    -webkit-transform: translate3d(0, 0, 0) scale(1);
            transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    -webkit-transform: translate3d(18px, -18px, 0) scale(1.05);
            transform: translate3d(18px, -18px, 0) scale(1.05);
  }
}

@-webkit-keyframes bob {
  0%,
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-12px);
            transform: translateY(-12px);
  }
}

@keyframes bob {
  0%,
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-12px);
            transform: translateY(-12px);
  }
}

@media (max-width: 1100px) {
  .login-layout {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: auto;
  }

  .hero-panel-inner {
    min-height: 320px;
    padding: 36px;
  }

  .form-panel {
    margin-top: -6px;
  }
}

@media (max-width: 720px) {
  .login-layout {
    padding: 16px;
    gap: 16px;
  }

  .hero-panel-inner,
  .login-card {
    border-radius: 24px;
  }

  .hero-panel-inner {
    padding: 28px;
    min-height: 280px;
  }

  .employee-visual,
  .admin-visual-grid {
    display: none !important;
  }

  .admin-visual {
    min-height: auto;
  }

  .login-card {
    padding: 26px 20px;
  }

  .brand-lockup {
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }

  .logo {
    width: 58px;
    height: 58px;
  }
}

