:root {
  --auth-primary: #243b53;
  --auth-primary-dark: #182a3d;
  --auth-accent: #2f80ed;
  --auth-secondary: #011A5A;
  --auth-bg: #f5f7fb;
  --auth-panel: #eef3f8;
  --auth-surface: #ffffff;
  --auth-surface-soft: #f8fafc;
  --auth-border: #dbe3ed;
  --auth-border-strong: #c8d3df;
  --auth-text: #011A5A;
  --auth-muted: #66788a;
  --auth-success: #198754;
  --auth-warning: #b7791f;
  --auth-danger: #c53030;
  --auth-shadow: 0 24px 60px rgba(16, 32, 51, .12);
  --auth-soft-shadow: 0 12px 30px rgba(16, 32, 51, .08);
  --auth-radius: 14px;
  --auth-radius-sm: 10px;
  --auth-control: 48px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body.auth-page {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--auth-bg);
  color: var(--auth-text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 60fr) minmax(420px, 40fr);
  background: var(--auth-bg);
}

.auth-visual {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 42px;
  background:
    radial-gradient(circle at 18% 18%, rgba(47, 128, 237, .17), transparent 30%),
    linear-gradient(135deg, #f9fbfd 0%, #edf3f8 48%, #dce8f3 100%);
}

.auth-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(36, 59, 83, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 59, 83, .045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(135deg, #000 0%, rgba(0, 0, 0, .72) 52%, transparent 100%);
  pointer-events: none;
}

.auth-visual > * {
  position: relative;
  z-index: 1;
}

.auth-logo-row,
.auth-card-brand,
.auth-state-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--auth-text);
  text-decoration: none;
}

.auth-logo {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--auth-primary), var(--auth-primary-dark));
  color: #fff;
  font-size: 1.18rem;
  font-weight: 800;
  box-shadow: var(--auth-soft-shadow);
}

.auth-logo-row .auth-logo {
  width: 58px;
  height: 58px;
  flex-basis: 58px;
}

.auth-brand-logo {
  height: 42px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.auth-logo-row .auth-brand-logo {
  height: 54px;
  max-width: 220px;
}

.auth-brand-name {
  display: block;
  color: var(--auth-text);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.1;
}

.auth-brand-meta {
  display: block;
  margin-top: 3px;
  color: var(--auth-muted);
  font-size: .76rem;
  font-weight: 600;
}

.auth-workspace-art {
  width: min(74%, 700px);
  min-width: 420px;
  aspect-ratio: 1.2;
  align-self: center;
  display: grid;
  place-items: end center;
  margin: auto 0;
}

.workspace-card {
  position: relative;
  width: 100%;
  height: 68%;
  border: 1px solid rgba(200, 211, 223, .8);
  border-radius: 18px;
  background: rgba(255, 255, 255, .62);
  box-shadow: 0 30px 70px rgba(36, 59, 83, .14);
  backdrop-filter: blur(10px);
}

.workspace-card::before,
.workspace-card::after {
  content: "";
  position: absolute;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(36, 59, 83, .1);
}

.workspace-card::before {
  left: 8%;
  top: 12%;
  width: 52%;
  height: 48%;
}

.workspace-card::after {
  right: 8%;
  top: 18%;
  width: 26%;
  height: 56%;
}

.workspace-lines {
  position: absolute;
  left: 13%;
  top: 20%;
  width: 40%;
  display: grid;
  gap: 12px;
}

.workspace-lines span {
  height: 10px;
  border-radius: 999px;
  background: #d9e3ee;
}

.workspace-lines span:nth-child(1) {
  width: 62%;
  background: #b8c8d8;
}

.workspace-lines span:nth-child(2) {
  width: 90%;
}

.workspace-lines span:nth-child(3) {
  width: 74%;
}

.workspace-panel {
  position: absolute;
  right: 13%;
  top: 28%;
  width: 16%;
  display: grid;
  gap: 10px;
}

.workspace-panel span {
  aspect-ratio: 1;
  border-radius: 12px;
  background: linear-gradient(135deg, #dce8f3, #f8fafc);
}

.workspace-desk {
  position: absolute;
  left: 9%;
  right: 9%;
  bottom: 13%;
  height: 16px;
  border-radius: 999px;
  background: #c4d1df;
}

.auth-panel {
  min-width: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .84), rgba(245, 247, 251, .96)),
    var(--auth-bg);
}

.auth-card,
.auth-state-card {
  width: min(100%, 456px);
  border: 1px solid var(--auth-border);
  border-radius: var(--auth-radius);
  background: rgba(255, 255, 255, .95);
  box-shadow: var(--auth-shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.auth-card {
  padding: 34px;
}

.auth-card.wide {
  width: min(100%, 620px);
}

.auth-card-top,
.auth-state-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
}

.auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid var(--auth-border);
  border-radius: 999px;
  background: var(--auth-surface-soft);
  color: var(--auth-muted);
  font-size: .72rem;
  font-weight: 800;
  white-space: nowrap;
}

.auth-title {
  margin: 0;
  font-size: 1.85rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0;
}

.auth-subtitle {
  margin: 9px 0 0;
  color: var(--auth-muted);
  font-size: .94rem;
  line-height: 1.55;
}

.auth-form {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.auth-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.auth-field {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.auth-field label,
.auth-group-label {
  color: var(--auth-text);
  font-size: .79rem;
  font-weight: 800;
}

.auth-field input,
.auth-field select {
  width: 100%;
  min-width: 0;
  height: var(--auth-control);
  border: 1px solid var(--auth-border);
  border-radius: var(--auth-radius-sm);
  background: #fff;
  color: var(--auth-text);
  font: inherit;
  font-size: .92rem;
  padding: 0 14px;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.auth-field input::placeholder {
  color: #9aa8b8;
}

.auth-field input:focus,
.auth-field select:focus,
.auth-otp-input:focus {
  outline: none;
  border-color: var(--auth-accent);
  box-shadow: 0 0 0 4px rgba(47, 128, 237, .12);
}

.auth-input-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--auth-control);
}

.auth-input-group input {
  border-radius: var(--auth-radius-sm) 0 0 var(--auth-radius-sm);
}

.auth-icon-btn {
  width: var(--auth-control);
  height: var(--auth-control);
  display: grid;
  place-items: center;
  border: 1px solid var(--auth-border);
  border-left: 0;
  border-radius: 0 var(--auth-radius-sm) var(--auth-radius-sm) 0;
  background: #fff;
  color: var(--auth-muted);
  cursor: pointer;
}

.auth-icon-btn:hover {
  background: var(--auth-surface-soft);
  color: var(--auth-primary);
}

.auth-options,
.auth-footer-row,
.auth-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.auth-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--auth-muted);
  font-size: .84rem;
}

.auth-check input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--auth-primary);
}

.auth-link {
  color: var(--auth-primary);
  font-size: .84rem;
  font-weight: 800;
  text-decoration: none;
}

.auth-link:hover {
  color: var(--auth-accent);
}

.auth-btn {
  min-height: var(--auth-control);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--auth-radius-sm);
  font: inherit;
  font-size: .92rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.auth-btn-primary {
  background: linear-gradient(135deg, var(--auth-primary), var(--auth-primary-dark));
  color: #fff;
  box-shadow: 0 12px 24px rgba(36, 59, 83, .18);
}

.auth-btn-primary:hover {
  color: #fff;
  filter: brightness(.96);
}

.auth-btn-secondary {
  border-color: var(--auth-border);
  background: #fff;
  color: var(--auth-text);
}

.auth-btn-secondary:hover {
  background: var(--auth-surface-soft);
}

.auth-btn.full {
  width: 100%;
}

.auth-footer-row {
  margin-top: 18px;
  color: var(--auth-muted);
  font-size: .82rem;
}

.auth-help {
  color: var(--auth-muted);
  font-size: .76rem;
  line-height: 1.45;
}

.auth-strength {
  display: grid;
  gap: 7px;
}

.auth-strength-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e3e9f0;
}

.auth-strength-track span {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: var(--auth-accent);
}

.auth-otp-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.auth-otp-input {
  width: 100%;
  aspect-ratio: 1;
  min-height: 50px;
  border: 1px solid var(--auth-border);
  border-radius: var(--auth-radius-sm);
  background: #fff;
  color: var(--auth-text);
  text-align: center;
  font: inherit;
  font-size: 1.25rem;
  font-weight: 800;
}

.auth-state-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(47, 128, 237, .12), transparent 32%),
    linear-gradient(180deg, #fff, var(--auth-bg));
}

.auth-state-card {
  width: min(100%, 580px);
  padding: 30px;
}

.auth-state-body {
  text-align: center;
  padding-top: 4px;
}

.auth-state-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 18px;
  background: var(--auth-primary);
  color: #fff;
  font-size: 1.9rem;
}

.auth-state-icon.success {
  background: var(--auth-success);
}

.auth-state-icon.warning {
  background: var(--auth-warning);
}

.auth-state-icon.danger {
  background: var(--auth-danger);
}

.auth-state-title {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.2;
}

.auth-state-text {
  max-width: 460px;
  margin: 10px auto 0;
  color: var(--auth-muted);
  line-height: 1.6;
}

.auth-state-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0;
}

.auth-state-meta div {
  padding: 13px;
  border: 1px solid var(--auth-border);
  border-radius: var(--auth-radius-sm);
  background: var(--auth-surface-soft);
  text-align: left;
}

.auth-state-meta strong {
  display: block;
  color: var(--auth-text);
  font-size: .78rem;
}

.auth-state-meta span {
  display: block;
  margin-top: 4px;
  color: var(--auth-muted);
  font-size: .78rem;
}

.auth-state-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 1080px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-visual {
    min-height: 330px;
    padding: 30px;
  }

  .auth-workspace-art {
    width: min(72%, 560px);
    min-width: 320px;
    max-height: 230px;
  }

  .auth-panel {
    min-height: auto;
    padding: 32px 24px 44px;
  }
}

@media (max-width: 720px) {
  .auth-visual {
    min-height: 172px;
    padding: 22px;
  }

  .auth-logo-row .auth-logo {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .auth-workspace-art {
    display: none;
  }

  .auth-panel {
    padding: 18px;
  }

  .auth-card,
  .auth-state-card {
    padding: 22px;
  }

  .auth-card-top,
  .auth-state-top,
  .auth-options,
  .auth-footer-row,
  .auth-link-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .auth-grid-2,
  .auth-state-meta {
    grid-template-columns: 1fr;
  }

  .auth-title,
  .auth-state-title {
    font-size: 1.55rem;
  }

  .auth-otp-grid {
    gap: 7px;
  }

  .auth-otp-input {
    min-height: 42px;
    font-size: 1.05rem;
  }

  .auth-state-actions,
  .auth-state-actions .auth-btn {
    width: 100%;
  }
}

/* ══════════════════════════════════════════════════════
   FULL BACKGROUND LOGIN PAGE - OVERLAY DESIGN
══════════════════════════════════════════════════════ */
.login-container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 72px 60px 92px;
}

/* homepage.png has its branding/headline text baked into the top-left of
   the frame. On viewports whose aspect ratio departs from the source photo
   (roughly 0.6 width/height and up covers desktops, laptops and tablets in
   either orientation) `background-position: center` crops that text off
   center and slices it mid-word; on ultra-wide monitors a centered vertical
   crop clips the top of the logo. Anchoring to the top-left on those
   viewports keeps every crop confined to the right/bottom (decorative) side
   of the photo, so the text is always shown whole or not at all — never cut
   mid-word. True portrait phones (below the threshold) fall through to
   `center`, which already keeps the crop clear of the text zone. */
@media (min-aspect-ratio: 3/5) {
  .login-container {
    background-position: left top;
  }
}

.login-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
}

/* Language Selector - Top Right */
.language-selector {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 25px;
  color: #102033;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.language-selector:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.language-selector i {
  font-size: 1.05rem;
  color: #66788a;
}

/* Left Side Content */
.login-left-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  flex: 1;
}

/* VKP Brand Box */
.vkp-brand-box {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid #FF6B35;
  border-radius: 16px;
  margin-bottom: 50px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.vkp-brand-text {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.vkp-brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.vkp-brand-name span {
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Hero Text */
.login-hero-text h1 {
  font-size: 3.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 10px 0;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.login-hero-text h2 {
  font-size: 3.8rem;
  font-weight: 800;
  color: #FF6B35;
  line-height: 1.15;
  margin: 0 0 30px 0;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 20px rgba(255, 107, 53, 0.5);
}

.login-tagline {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Right Side Login Card Wrapper */
.login-card-wrapper {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  max-width: 100%;
}

/* Login Card */
.login-card {
  width: 420px;
  max-width: 100%;
  overflow: visible;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 60px 36px 65px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.login-card-header {
  text-align: center;
  margin-bottom: 50px;
}

.login-card-logo {
  height: 65px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.login-card-title {
  text-align: center;
  margin-bottom: 50px;
}

.login-card-title h1,
.login-card-title .erp-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: #18307C;
  margin: 0 0 15px 0;
  letter-spacing: -0.02em;
}

.login-card-title p {
  font-size: 1rem;
  color: #66788a;
  margin: 0;
  line-height: 1.5;
}

/* Form Groups */
.login-form-group {
  margin-bottom: 32px;
}

.login-form-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 12px;
}

.login-form-group label i {
  font-size: 1rem;
  color: #66788a;
}

.login-form-group input {
  width: 100%;
  height: 56px;
  border: 2px solid #dbe3ed;
  border-radius: 14px;
  padding: 0 20px;
  font-size: 1.02rem;
  transition: all 0.2s ease;
  background: #fff;
  color: #102033;
  font-family: inherit;
}

.login-form-group input::placeholder {
  color: #9aa8b8;
}

.login-form-group input:focus {
  outline: none;
  border-color: #18307C;
  box-shadow: 0 0 0 4px rgba(24, 48, 124, 0.1);
}

/* Password Wrapper */
.login-password-wrapper {
  position: relative;
}

.login-password-wrapper input {
  padding-right: 52px;
}

.password-toggle-btn {
  position: absolute;
  right: 0;
  top: 0;
  height: 56px;
  width: 56px;
  border: none;
  background: transparent;
  color: #66788a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 14px 14px 0;
  transition: all 0.2s ease;
}

.password-toggle-btn:hover {
  color: #18307C;
  background: rgba(24, 48, 124, 0.05);
}

/* Login Options */
.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 38px;
  margin-top: 35px;
  flex-wrap: wrap;
  gap: 12px;
}

.remember-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #66788a;
  cursor: pointer;
}

.remember-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #18307C;
}

.remember-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.remember-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #18307C;
  margin: 0;
}

.forgot-link {
  color: #18307C;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

/* Login Buttons */
.login-btn {
  width: 100%;
  height: 58px;
  border-radius: 14px;
  font-size: 1.08rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: inherit;
}

.login-btn i {
  font-size: 1.15rem;
}

.login-btn-primary {
  background: #18307C;
  color: #fff;
  box-shadow: 0 8px 24px rgba(24, 48, 124, 0.3);
  margin-top: 38px;
  margin-bottom: 14px;
}

.login-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(24, 48, 124, 0.4);
}

.login-btn-primary:active {
  transform: translateY(0);
}

/* Badge Styles */
.erp-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
}

.erp-badge-primary {
  background: #18307C;
  color: #fff;
}

.erp-badge-info {
  background: rgba(47, 128, 237, 0.1);
  color: #2f80ed;
}

/* Badge Buttons */
.login-badge-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
  max-width: 100%;
}

.login-badge-buttons .erp-badge {
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.login-badge-buttons .erp-badge:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Login Card Footer */
.login-card-footer {
  margin-top: 32px;
  padding-top: 24px;
  text-align: center;
}

.login-card-footer p {
  font-size: 0.875rem;
  color: var(--auth-muted);
  margin: 0;
}

/* Divider */
.login-divider {
  position: relative;
  text-align: center;
  margin: 18px 0;
}

.login-divider::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: #dbe3ed;
}

.login-divider span {
  position: relative;
  display: inline-block;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.98);
  color: #9aa8b8;
  font-size: 0.85rem;
  font-weight: 700;
}

.login-btn-secondary {
  background: #fff;
  color: #18307C;
  border: 2px solid #dbe3ed;
}

.login-btn-secondary:hover {
  border-color: #18307C;
  background: rgba(24, 48, 124, 0.03);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(24, 48, 124, 0.15);
}

/* Footer */
.login-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 18px 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.login-footer p {
  color: #66788a;
  font-size: 0.88rem;
  margin: 0;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1400px) {
  .login-container {
    padding: 68px 60px 88px;
  }

  .login-hero-text h1,
  .login-hero-text h2 {
    font-size: 3.2rem;
  }

  .login-card {
    width: 400px;
    padding: 38px 34px;
  }
}

@media (max-width: 1200px) {
  .login-container {
    padding: 66px 50px 86px;
  }

  .login-hero-text h1,
  .login-hero-text h2 {
    font-size: 2.8rem;
  }

  .login-card {
    width: 400px;
  }
}

@media (max-width: 992px) {
  body.auth-page {
    overflow-y: auto;
  }

  .login-container {
    flex-direction: column;
    justify-content: center;
    padding: 88px 30px 94px;
    gap: 30px;
    overflow: visible;
  }

  .login-container::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.3) 100%);
  }

  .login-left-content {
    max-width: 100%;
    text-align: center;
  }

  .vkp-brand-box {
    margin: 0 auto 40px;
  }

  .login-hero-text h1,
  .login-hero-text h2 {
    font-size: 2.4rem;
  }

  .login-card {
    width: 100%;
    max-width: 480px;
  }

  .language-selector {
    top: 20px;
    right: 20px;
  }
}

@media (max-width: 768px) {
  .login-container {
    padding: 82px 20px 90px;
  }

  .login-hero-text h1,
  .login-hero-text h2 {
    font-size: 2rem;
  }

  .vkp-brand-box {
    padding: 14px 20px;
    margin-bottom: 30px;
  }

  .vkp-brand-text {
    font-size: 1.8rem;
  }

  .vkp-brand-name span {
    font-size: 0.75rem;
  }

  .login-card {
    padding: 36px 28px;
  }

  .login-card-title h1 {
    font-size: 1.7rem;
  }

  .login-form-group input,
  .login-btn {
    height: 50px;
  }
}

@media (max-width: 480px) {
  .login-container {
    padding: 76px 16px 86px;
  }

  .login-hero-text h1,
  .login-hero-text h2 {
    font-size: 1.6rem;
  }

  .login-tagline {
    font-size: 0.95rem;
  }

  .login-card {
    padding: 30px 24px;
  }

  .login-card-logo {
    height: 50px;
  }

  .login-card-title h1 {
    font-size: 1.5rem;
  }

  .login-options {
    flex-direction: column;
    align-items: flex-start;
  }

  .language-selector {
    padding: 8px 14px;
    font-size: 0.85rem;
  }
}

/* Keep the complete sign-in form inside shorter laptop viewports without a
   nested scrollbar. The spacious (default) card spacing needs roughly
   1020px of viewport height to fit; a maximized browser window on an
   ordinary 1920x1080 laptop or monitor (with tabs/bookmarks bar showing)
   usually only has 900-970px available, so this threshold is set well
   above that common range rather than just below it. The document itself
   remains scrollable on genuinely small screens. */
@media (min-width: 993px) and (max-height: 1060px) {
  .login-container {
    padding-top: 58px;
    padding-bottom: 72px;
  }

  .language-selector {
    top: 18px;
  }

  .login-card {
    width: 420px;
    border-radius: 20px;
    padding: 32px 30px 34px;
  }

  .login-card-header {
    margin-bottom: 14px;
  }

  .login-card-logo {
    height: 46px;
  }

  .login-card-title {
    margin-bottom: 20px;
  }

  .login-card-title h1,
  .login-card-title .erp-title {
    font-size: 1.75rem;
    margin-bottom: 6px;
  }

  .login-form-group {
    margin-bottom: 14px;
  }

  .login-form-group label {
    margin-bottom: 6px;
  }

  .login-form-group input,
  .password-toggle-btn {
    height: 44px;
  }

  .login-options {
    margin-bottom: 16px;
  }

  .login-btn {
    height: 46px;
  }

  .login-btn-primary {
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .login-badge-buttons {
    margin-top: 12px;
  }

  .login-footer {
    padding: 13px 20px;
  }
}

@media (max-width: 992px) and (max-height: 760px) {
  .login-left-content {
    display: none;
  }

  .login-container {
    justify-content: flex-start;
  }
}

