/* ============================================
   Login Page — Premium Split-Screen Design
   Dkhoun Ticketing System
   ============================================ */

/* ---- Keyframe Animations ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes floatHex {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-18px) rotate(5deg);
  }
  50% {
    transform: translateY(-8px) rotate(-3deg);
  }
  75% {
    transform: translateY(-22px) rotate(4deg);
  }
}

@keyframes floatHexSlow {
  0%, 100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  50% {
    transform: translateY(-30px) rotate(15deg) scale(1.05);
  }
}

@keyframes rotateHex {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes pulseGold {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(184, 150, 86, 0.4);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(184, 150, 86, 0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes glowPulse {
  0%, 100% {
    opacity: 0.4;
    filter: blur(40px);
  }
  50% {
    opacity: 0.7;
    filter: blur(60px);
  }
}

@keyframes driftUp {
  0% {
    transform: translateY(100vh) scale(0.5);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-20vh) scale(1);
    opacity: 0;
  }
}

@keyframes borderGlow {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

@keyframes heroPattern {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardEntrance {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes inputReveal {
  from {
    opacity: 0;
    transform: translateX(-16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes subtleFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* ---- Login Page Container ---- */
.login-page {
  display: flex;
  height: 100vh;
  height: 100dvh;
  background-color: #F8F5EF;
  overflow: hidden;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ---- Decorative Background (left side ambient) ---- */
.login-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.login-bg .hex {
  position: absolute;
  background: rgba(184, 150, 86, 0.035);
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  animation: floatHex 10s ease-in-out infinite;
  will-change: transform;
}

.login-bg .hex-1 { top: 8%;  left: 3%;  width: 100px; height: 100px; animation-delay: 0s; }
.login-bg .hex-2 { top: 58%; left: 12%; width: 70px;  height: 70px;  animation-delay: 2s; }
.login-bg .hex-3 { top: 28%; left: 35%; width: 120px; height: 120px; animation-delay: 4s; opacity: 0.5; }
.login-bg .hex-4 { bottom: 18%; left: 8%; width: 80px; height: 80px; animation-delay: 1s; }
.login-bg .hex-5 { top: 5%;  left: 25%; width: 60px;  height: 60px;  animation-delay: 3s; }
.login-bg .hex-6 { bottom: 35%; left: 30%; width: 90px; height: 90px; animation-delay: 5s; opacity: 0.4; }
.login-bg .hex-7 { top: 45%; left: 18%; width: 50px;  height: 50px;  animation-delay: 2.5s; }

.login-bg .particles {
  position: absolute;
  inset: 0;
}

.login-bg .particle {
  position: absolute;
  background: rgba(184, 150, 86, 0.12);
  border-radius: 50%;
  animation: floatHex 8s ease-in-out infinite alternate;
  will-change: transform;
}

/* ---- Left Side: Form Area ---- */
.login-left,
.login-form-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: var(--space-6) var(--space-8);
  position: relative;
  z-index: var(--z-raised);
  animation: fadeInUp 0.8s var(--ease-out) both;
  background: linear-gradient(160deg, #FDFCFA 0%, #F8F5EF 40%, #F3EDE3 100%);
  overflow-y: auto;
  min-height: 0;

  .login-form-wrapper {
    width: 100%;
    max-width: 440px;
  }
}

/* ---- Glass Card ---- */
.login-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  padding: 28px 36px 24px;
  box-shadow:
    0 0 0 1px rgba(184, 150, 86, 0.06),
    0 1px 2px rgba(0, 0, 0, 0.02),
    0 4px 8px rgba(0, 0, 0, 0.03),
    0 12px 24px rgba(0, 0, 0, 0.04),
    0 24px 48px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  animation: cardEntrance 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
  max-width: 460px;
  width: 100%;
  margin: auto 0;
  flex-shrink: 0;
}

/* Gold accent line at top of card */
.login-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #C4A265, #B89656, #8B6914, #B89656, #C4A265);
  background-size: 200% 100%;
  animation: shimmer 4s ease-in-out infinite;
  border-radius: 24px 24px 0 0;
}

/* Subtle inner glow */
.login-card::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 150, 86, 0.25), transparent);
  animation: borderGlow 3s ease-in-out infinite;
}

/* ---- Logo Area ---- */
.login-logo {
  text-align: center;
  margin-bottom: 28px;
  animation: fadeInDown 0.6s var(--ease-out) 0.35s both;

  .logo-img {
    max-width: 180px;
    height: auto;
    margin: 0 auto 12px;
    display: block;
    border-radius: 14px;
    object-fit: contain;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
  }

  .logo-img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(184, 150, 86, 0.15);
  }

  .logo-hexagon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--space-4);
    background: var(--gradient-gold);
    clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--color-pure-white);
    letter-spacing: var(--tracking-wide);
    box-shadow: var(--shadow-gold);
    animation: pulseGold 3s ease-in-out infinite;
  }

  .logo-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--color-dark);
    margin-bottom: var(--space-1);
  }

  .logo-subtitle {
    font-size: var(--text-sm);
    color: var(--color-dark-300);
    font-weight: var(--font-regular);
  }
}

/* ---- Login Form ---- */
.login-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);

  .form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    animation: inputReveal 0.5s var(--ease-out) both;

    &:nth-child(1) { animation-delay: 0.45s; }
    &:nth-child(2) { animation-delay: 0.55s; }
    &:nth-child(3) { animation-delay: 0.65s; }
  }

  label {
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--color-dark-500);
  }

  .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;

    .input-icon {
      position: absolute;
      left: var(--space-4);
      color: var(--color-dark-200);
      font-size: var(--text-lg);
      transition: color 0.35s ease, transform 0.35s ease;
      pointer-events: none;
    }

    input:focus ~ .input-icon,
    input:focus + .input-icon {
      color: var(--color-gold);
      transform: scale(1.1);
    }
  }

  input[type="text"],
  input[type="email"],
  input[type="password"] {
    width: 100%;
    padding: var(--space-3) var(--space-4) var(--space-3) var(--space-12);
    border: 2px solid rgba(229, 224, 213, 0.8);
    border-radius: 12px;
    font-size: var(--text-base);
    font-family: inherit;
    background: rgba(255, 255, 255, 0.8);
    color: var(--color-dark);
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    outline: none;

    &::placeholder {
      color: var(--color-dark-200);
      transition: color 0.3s ease;
    }

    &:hover {
      border-color: rgba(184, 150, 86, 0.4);
      background: rgba(255, 255, 255, 0.95);
    }

    &:focus {
      border-color: #B89656;
      background: #fff;
      box-shadow:
        0 0 0 4px rgba(184, 150, 86, 0.1),
        0 2px 8px rgba(184, 150, 86, 0.08);
    }

    &:focus::placeholder {
      color: transparent;
    }
  }

  .password-toggle {
    position: absolute;
    right: var(--space-4);
    background: none;
    border: none;
    color: var(--color-dark-200);
    cursor: pointer;
    font-size: var(--text-lg);
    padding: var(--space-1);
    transition: color 0.3s ease, transform 0.3s ease;
    border-radius: 6px;

    &:hover {
      color: var(--color-gold);
      transform: scale(1.1);
    }
  }

  .form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--text-sm);

    .remember-me {
      display: flex;
      align-items: center;
      gap: var(--space-2);
      cursor: pointer;
      color: var(--color-dark-400);

      input[type="checkbox"] {
        width: 18px;
        height: 18px;
        accent-color: var(--color-gold);
        cursor: pointer;
        padding: 0;
      }
    }

    .forgot-password {
      color: var(--color-gold);
      text-decoration: none;
      font-weight: var(--font-medium);
      transition: color 0.3s ease;

      &:hover {
        color: var(--color-dark-gold);
        text-decoration: underline;
      }
    }
  }

  .login-btn {
    width: 100%;
    padding: var(--space-3) var(--space-6);
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #C4A265 0%, #B89656 30%, #8B6914 100%);
    color: var(--color-pure-white);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    font-family: inherit;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.5s var(--ease-out) 0.8s both;
    letter-spacing: 0.02em;

    &::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
      background-size: 200% 100%;
      animation: shimmer 3s ease-in-out infinite;
    }

    &:hover {
      transform: translateY(-3px);
      box-shadow:
        0 8px 20px rgba(184, 150, 86, 0.35),
        0 4px 8px rgba(184, 150, 86, 0.2);
    }

    &:active {
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(184, 150, 86, 0.25);
    }

    &:disabled {
      opacity: 0.6;
      cursor: not-allowed;
      transform: none;
    }
  }
}

/* ---- Role Selection Grid ---- */
.role-selection {
  margin-top: var(--space-6);
  animation: fadeInUp 0.5s var(--ease-out) 0.9s both;

  .role-label {
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--color-dark-500);
    margin-bottom: var(--space-3);
    display: block;
  }

  .role-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
  }

  .role-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-2);
    border: 2px solid var(--color-dark-100);
    border-radius: var(--radius-lg);
    background: var(--color-pure-white);
    cursor: pointer;
    transition: all var(--transition-base);
    text-align: center;
    position: relative;
    overflow: hidden;

    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 2px;
      background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .role-icon {
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: var(--radius-md);
      background: var(--color-cream);
      color: var(--color-dark-300);
      font-size: var(--text-xl);
      transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .role-name {
      font-size: var(--text-xs);
      font-weight: var(--font-medium);
      color: var(--color-dark-400);
      transition: color var(--transition-base);
    }

    &:hover {
      border-color: var(--color-accent-gold);
      transform: translateY(-3px);
      box-shadow: 0 6px 16px rgba(184, 150, 86, 0.12);

      &::before {
        opacity: 1;
      }

      .role-icon {
        background: var(--color-gold-100);
        color: var(--color-gold);
      }

      .role-name {
        color: var(--color-dark);
      }
    }

    &.active,
    &[aria-selected="true"] {
      border-color: var(--color-gold);
      background: linear-gradient(135deg, #FFFCF6, #FFF8ED);
      box-shadow: 0 4px 14px rgba(184, 150, 86, 0.18);

      &::before {
        opacity: 1;
        background: linear-gradient(90deg, transparent, var(--color-gold), var(--color-dark-gold), var(--color-gold), transparent);
      }

      .role-icon {
        background: var(--gradient-gold);
        color: var(--color-pure-white);
      }

      .role-name {
        color: var(--color-dark-gold);
        font-weight: var(--font-semibold);
      }
    }
  }
}

/* ============================================
   Right Side: Hero Area — Dark Premium
   ============================================ */
.login-right,
.login-hero-side {
  flex: 1;
  position: relative;
  background: linear-gradient(160deg, #1F1F1F 0%, #2C2C2C 25%, #1A1A1A 60%, #141414 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  animation: slideInRight 0.8s var(--ease-out) 0.3s both;
}

/* Ambient gold glow orbs behind hero content */
.login-right::before,
.login-hero-side::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 150, 86, 0.3) 0%, rgba(184, 150, 86, 0.08) 40%, transparent 70%);
  top: 0%;
  right: -20%;
  animation: glowPulse 4s ease-in-out infinite;
  pointer-events: none;
}

.login-right::after,
.login-hero-side::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 150, 86, 0.22) 0%, rgba(184, 150, 86, 0.05) 40%, transparent 70%);
  bottom: -5%;
  left: -15%;
  animation: glowPulse 6s ease-in-out infinite 1.5s;
  pointer-events: none;
}

/* Decorative mesh pattern overlay */
.hero-hex-grid {
  position: absolute;
  inset: 0;
  opacity: 1;
  pointer-events: none;
}

.hero-hex-grid .hero-hex {
  position: absolute;
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  animation: floatHex 12s ease-in-out infinite;
  will-change: transform;
}

.hero-hex-grid .hero-hex:nth-child(1) {
  top: 8%;
  left: 8%;
  width: 120px;
  height: 120px;
  background: rgba(184, 150, 86, 0.08);
  border: 1px solid rgba(184, 150, 86, 0.12);
  animation-delay: 0s;
}
.hero-hex-grid .hero-hex:nth-child(2) {
  top: 48%;
  left: 58%;
  width: 80px;
  height: 80px;
  background: rgba(184, 150, 86, 0.05);
  border: 1px solid rgba(184, 150, 86, 0.06);
  animation-delay: 2s;
}
.hero-hex-grid .hero-hex:nth-child(3) {
  top: 68%;
  left: 15%;
  width: 140px;
  height: 140px;
  background: rgba(184, 150, 86, 0.06);
  border: 1px solid rgba(184, 150, 86, 0.08);
  animation-delay: 4s;
}
.hero-hex-grid .hero-hex:nth-child(4) {
  top: 18%;
  right: 12%;
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
  animation-delay: 1s;
}
.hero-hex-grid .hero-hex:nth-child(5) {
  bottom: 18%;
  right: 25%;
  width: 100px;
  height: 100px;
  background: rgba(184, 150, 86, 0.07);
  border: 1px solid rgba(184, 150, 86, 0.1);
  animation-delay: 3s;
}
.hero-hex-grid .hero-hex:nth-child(6) {
  top: 38%;
  left: 32%;
  width: 55px;
  height: 55px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
  animation-delay: 5s;
}

/* Hero text, map, and stats */
.hero-content {
  position: relative;
  z-index: var(--z-raised);
  text-align: center;
  padding: 8px 16px 8px;
  max-width: 620px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
}

.hero-text {
  margin-bottom: 0;
}

.hero-text h2 {
  font-size: 19px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3), 0 0 30px rgba(184, 150, 86, 0.2);
}

.hero-text p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.hero-stats {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 2px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  position: relative;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.35s ease;
  animation: countUp 0.6s var(--ease-out) both;
}

.hero-stat:nth-child(1) { animation-delay: 0.7s; }
.hero-stat:nth-child(2) { animation-delay: 0.85s; }
.hero-stat:nth-child(3) { animation-delay: 1.0s; }

.hero-stat:hover {
  background: rgba(184, 150, 86, 0.08);
  border-color: rgba(184, 150, 86, 0.15);
  transform: translateY(-2px);
}

.hero-stat-num {
  font-size: 24px;
  font-weight: 800;
  color: #B89656;
  line-height: 1;
  letter-spacing: -0.03em;
  font-family: 'Montserrat', var(--font-family);
  text-shadow: 0 1px 8px rgba(184, 150, 86, 0.2);
}

.hero-stat-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.5px;
  font-weight: 600;
  font-family: var(--font-family);
  white-space: nowrap;
}

/* Hero content extended elements */
.hero-content .hero-title {
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-4);
  line-height: var(--leading-tight);
  color: #FFFFFF;
}

.hero-content .hero-description {
  font-size: var(--text-lg);
  opacity: 0.65;
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
  color: #FFFFFF;
}

.hero-content .hero-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  text-align: start;

  .feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-base);
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.85);

    .feature-icon {
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(184, 150, 86, 0.15);
      border: 1px solid rgba(184, 150, 86, 0.2);
      border-radius: var(--radius-md);
      font-size: var(--text-lg);
      flex-shrink: 0;
    }
  }
}

/* ---- Floating Hexagons (Decorative) ---- */
.floating-hexagons {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;

  .hex {
    position: absolute;
    clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
    opacity: 0.08;

    &.hex-1 {
      width: 120px;
      height: 120px;
      background: var(--color-gold);
      top: 10%;
      left: 15%;
      animation: floatHex 8s ease-in-out infinite;
    }

    &.hex-2 {
      width: 80px;
      height: 80px;
      background: var(--color-accent-gold);
      top: 60%;
      right: 10%;
      animation: floatHexSlow 10s ease-in-out infinite;
      animation-delay: -2s;
      opacity: 0.06;
    }

    &.hex-3 {
      width: 160px;
      height: 160px;
      background: var(--color-light-gold);
      bottom: 5%;
      left: 40%;
      animation: floatHex 12s ease-in-out infinite;
      animation-delay: -4s;
      opacity: 0.05;
    }

    &.hex-4 {
      width: 60px;
      height: 60px;
      background: var(--color-pure-white);
      top: 30%;
      right: 30%;
      animation: floatHexSlow 7s ease-in-out infinite;
      animation-delay: -1s;
      opacity: 0.1;
    }

    &.hex-5 {
      width: 100px;
      height: 100px;
      background: var(--color-gold);
      top: 75%;
      left: 10%;
      animation: floatHex 9s ease-in-out infinite;
      animation-delay: -3s;
      opacity: 0.07;
    }

    &.hex-6 {
      width: 50px;
      height: 50px;
      background: var(--color-pure-white);
      top: 15%;
      right: 15%;
      animation: floatHexSlow 6s ease-in-out infinite;
      animation-delay: -5s;
      opacity: 0.12;
    }

    &.hex-7 {
      width: 140px;
      height: 140px;
      background: var(--color-dark-gold);
      bottom: 25%;
      right: 25%;
      animation: floatHex 11s ease-in-out infinite;
      animation-delay: -6s;
      opacity: 0.04;
    }
  }
}

/* ---- Form Decorative Hexagons ---- */
.login-form-side {
  .form-hex-decor {
    position: absolute;
    clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);

    &.hex-top-right {
      width: 80px;
      height: 80px;
      background: var(--color-gold-100);
      top: 8%;
      right: 10%;
      opacity: 0.5;
      animation: floatHexSlow 8s ease-in-out infinite;
    }

    &.hex-bottom-left {
      width: 50px;
      height: 50px;
      background: var(--color-gold-200);
      bottom: 12%;
      left: 8%;
      opacity: 0.4;
      animation: floatHex 7s ease-in-out infinite;
    }
  }
}

/* ---- RTL Support ---- */
[dir="rtl"] {
  .login-form {
    .input-wrapper .input-icon {
      left: auto;
      right: var(--space-4);
    }

    input[type="text"],
    input[type="email"],
    input[type="password"] {
      padding: var(--space-3) var(--space-12) var(--space-3) var(--space-4);
      text-align: right;
    }

    .password-toggle {
      right: auto;
      left: var(--space-4);
    }

    .form-options {
      flex-direction: row-reverse;
    }
  }

  .hero-content .hero-features {
    text-align: end;

    .feature-item {
      flex-direction: row-reverse;
    }
  }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
  .login-page {
    flex-direction: column-reverse;
  }

  .login-right,
  .login-hero-side {
    flex: 0 0 auto;
    min-height: 220px;
    animation: fadeInDown 0.6s var(--ease-out) both;
  }

  .login-right::before,
  .login-hero-side::before {
    width: 250px;
    height: 250px;
  }

  .login-right::after,
  .login-hero-side::after {
    width: 200px;
    height: 200px;
  }

  .hero-text h2 {
    font-size: 22px;
  }

  .hero-text p {
    font-size: 13px;
  }

  .hero-map-container {
    max-width: 350px;
  }

  .hero-stats {
    gap: 12px;
  }

  .hero-stat {
    padding: 8px 12px;
  }

  .hero-stat-num {
    font-size: 22px;
  }

  .hero-stat-label {
    font-size: 9px;
  }

  .hero-content {
    .hero-title {
      font-size: var(--text-2xl);
    }

    .hero-description {
      font-size: var(--text-base);
      margin-bottom: var(--space-4);
    }

    .hero-features {
      display: none;
    }
  }

  .login-left,
  .login-form-side {
    flex: 1;
    padding: var(--space-6);
  }

  .login-card {
    padding: 32px 28px 24px;
  }
}

@media (max-width: 768px) {
  /* Hide hero section completely on mobile - show only login form */
  .login-right,
  .login-hero-side {
    display: none !important;
  }

  .login-page {
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .login-left,
  .login-form-side {
    flex: 1;
    padding: var(--space-4);
    justify-content: center;
    align-items: center;
    background: linear-gradient(160deg, #FDFCFA 0%, #F8F5EF 100%);
  }

  .login-card {
    padding: 28px 22px 20px;
    border-radius: 20px;
    max-width: 100%;
    width: 100%;
  }

  .login-title {
    font-size: 22px;
  }

  .login-subtitle {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .login-logo .logo-img {
    max-width: 150px;
  }

  .role-selection .role-grid,
  .role-section .role-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .login-logo .logo-hexagon {
    width: 56px;
    height: 56px;
    font-size: var(--text-xl);
  }

  .login-logo .logo-title {
    font-size: var(--text-xl);
  }

  /* Ensure touch-friendly inputs */
  .login-form .form-input {
    min-height: 48px;
    font-size: 16px;
  }

  .login-form .login-btn {
    min-height: 48px;
    font-size: 16px;
  }

  .role-section .role-btn {
    min-height: 44px;
  }

  /* Decorative elements - reduce on mobile */
  .login-bg .hex {
    opacity: 0.3;
  }
}

@media (max-width: 640px) {
  .login-left,
  .login-form-side {
    padding: var(--space-3);
  }

  .login-card {
    padding: 24px 18px 18px;
    border-radius: 18px;
  }

  .login-title {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .login-left,
  .login-form-side {
    padding: var(--space-4);
  }

  .login-card {
    padding: 24px 18px 18px;
    border-radius: 18px;
  }

  .login-logo .logo-img {
    max-width: 140px;
  }

  .role-selection .role-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2);
  }

  .role-selection .role-card {
    padding: var(--space-3) var(--space-2);
  }

  .hero-stats {
    gap: 8px;
  }

  .hero-stat {
    padding: 6px 8px;
  }

  .hero-stat-num {
    font-size: 20px;
  }
}

/* ============================================================
   HTML Class Compatibility Layer
   The HTML uses slightly different class names. These rules
   ensure the actual HTML elements are properly styled.
   ============================================================ */

/* Role section (HTML uses .role-section, CSS had .role-selection) */
.role-section {
  margin-top: 20px;
  animation: fadeInUp 0.5s var(--ease-out) 0.7s both;
}

.role-section .role-label {
  font-size: 12px;
  font-weight: 600;
  color: #888;
  margin-bottom: 12px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.role-section .role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.role-section .role-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px;
  border: 2px solid rgba(229, 224, 213, 0.7);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  text-align: center;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  color: #777;
  position: relative;
  overflow: hidden;
}

/* Gold accent line at top of role card */
.role-section .role-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #C4A265, #B89656);
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 0 0 4px 4px;
}

.role-section .role-btn svg {
  width: 26px;
  height: 26px;
  color: #aaa;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.role-section .role-btn:hover {
  border-color: rgba(184, 150, 86, 0.5);
  transform: translateY(-3px);
  box-shadow:
    0 6px 16px rgba(184, 150, 86, 0.12),
    0 2px 4px rgba(0, 0, 0, 0.04);
  background: rgba(255, 255, 255, 0.9);
}

.role-section .role-btn:hover::before {
  width: 50%;
}

.role-section .role-btn:hover svg {
  color: #B89656;
  transform: scale(1.1);
}

.role-section .role-btn:hover span {
  color: #555;
}

.role-section .role-btn.active {
  border-color: #B89656;
  background: linear-gradient(145deg, #FFFCF6 0%, #FFF8ED 50%, #FFF5E0 100%);
  box-shadow:
    0 0 0 1px rgba(184, 150, 86, 0.15),
    0 4px 12px rgba(184, 150, 86, 0.18),
    0 1px 3px rgba(0, 0, 0, 0.04);
}

.role-section .role-btn.active::before {
  width: 70%;
  background: linear-gradient(90deg, #C4A265, #B89656, #8B6914);
}

.role-section .role-btn.active svg {
  color: #B89656;
  filter: drop-shadow(0 1px 2px rgba(184, 150, 86, 0.3));
}

.role-section .role-btn.active span {
  color: #7A5A10;
  font-weight: 600;
}

/* Form group styling */
.login-form .form-group {
  margin-bottom: 18px;
  animation: inputReveal 0.5s var(--ease-out) both;
}

.login-form .form-group:nth-child(1) { animation-delay: 0.4s; }
.login-form .form-group:nth-child(2) { animation-delay: 0.5s; }

.login-form .input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.login-form .input-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: #aaa;
  pointer-events: none;
  z-index: 1;
  transition: color 0.35s ease, transform 0.35s ease;
}

.login-form .form-input:focus ~ .input-icon,
.login-form .input-wrapper:focus-within .input-icon {
  color: #B89656;
  transform: scale(1.08);
}

[dir="rtl"] .login-form .input-icon {
  left: auto;
  right: 14px;
}

.login-form .form-input {
  width: 100%;
  padding: 13px 14px 13px 44px;
  border: 2px solid rgba(229, 224, 213, 0.7);
  border-radius: 12px;
  font-size: 14px;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.75);
  color: #2C2C2C;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  outline: none;
}

.login-form .form-input::placeholder {
  color: #bbb;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.login-form .form-input:hover {
  border-color: rgba(184, 150, 86, 0.4);
  background: rgba(255, 255, 255, 0.9);
}

.login-form .form-input:focus {
  border-color: #B89656;
  background: #FFFFFF;
  box-shadow:
    0 0 0 4px rgba(184, 150, 86, 0.1),
    0 2px 8px rgba(184, 150, 86, 0.06);
}

.login-form .form-input:focus::placeholder {
  opacity: 0.4;
}

[dir="rtl"] .login-form .form-input {
  padding: 13px 44px 13px 14px;
}

.login-form .toggle-pass {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  color: #aaa;
  padding: 6px;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-form .toggle-pass:hover {
  color: #B89656;
  background: rgba(184, 150, 86, 0.06);
  transform: scale(1.08);
}

[dir="rtl"] .login-form .toggle-pass {
  right: auto;
  left: 12px;
}

/* Form options row */
.login-form .form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 13px;
}

.login-form .checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #666;
  transition: color 0.2s ease;
}

.login-form .checkbox-label:hover {
  color: #444;
}

.login-form .checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #B89656;
  cursor: pointer;
  border-radius: 4px;
}

.login-form .forgot-link {
  color: #B89656;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.login-form .forgot-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #B89656;
  transition: width 0.3s ease;
}

.login-form .forgot-link:hover {
  color: #8B6914;
}

.login-form .forgot-link:hover::after {
  width: 100%;
}

/* Login button */
.login-form .login-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  background: linear-gradient(135deg, #C4A265 0%, #B89656 40%, #8B6914 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow:
    0 4px 14px rgba(184, 150, 86, 0.3),
    0 1px 3px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
  animation: fadeInUp 0.5s var(--ease-out) 0.8s both;
}

.login-form .login-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.12) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 3.5s ease-in-out infinite;
}

.login-form .login-btn svg {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  z-index: 1;
}

.login-form .login-btn span {
  position: relative;
  z-index: 1;
}

.login-form .login-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 8px 24px rgba(184, 150, 86, 0.4),
    0 4px 8px rgba(0, 0, 0, 0.06);
}

.login-form .login-btn:hover svg {
  transform: translateX(4px);
}

[dir="rtl"] .login-form .login-btn:hover svg {
  transform: translateX(-4px);
}

.login-form .login-btn:active {
  transform: translateY(-1px);
  box-shadow:
    0 4px 14px rgba(184, 150, 86, 0.3),
    0 2px 4px rgba(0, 0, 0, 0.06);
}

/* Spinner for loading state */
.login-form .login-btn .spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: rotateHex 0.7s linear infinite;
}

/* Login title */
.login-title {
  font-size: 26px;
  font-weight: 700;
  color: #2C2C2C;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  animation: fadeInDown 0.6s var(--ease-out) 0.3s both;
}

.login-subtitle {
  font-size: 14px;
  color: #999;
  margin-bottom: 28px;
  animation: fadeInDown 0.5s var(--ease-out) 0.38s both;
}

/* Login footer / language toggle */
.login-footer {
  text-align: center;
  margin-top: 24px;
  animation: fadeInUp 0.5s var(--ease-out) 0.9s both;
}

.login-footer .lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(229, 224, 213, 0.6);
  border-radius: 24px;
  font-size: 13px;
  color: #777;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.login-footer .lang-toggle svg {
  transition: transform 0.3s ease;
}

.login-footer .lang-toggle:hover {
  border-color: rgba(184, 150, 86, 0.4);
  color: #B89656;
  background: rgba(255, 248, 237, 0.6);
  box-shadow: 0 2px 8px rgba(184, 150, 86, 0.1);
}

.login-footer .lang-toggle:hover svg {
  transform: rotate(20deg);
}

/* Login page exit animation */
.login-page.exit {
  opacity: 0;
  transform: scale(0.96);
  filter: blur(2px);
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Responsive for role grid */
@media (max-width: 480px) {
  .role-section .role-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .role-section .role-btn {
    padding: 12px 6px;
    border-radius: 12px;
  }

  .role-section .role-btn svg {
    width: 22px;
    height: 22px;
  }

  .role-section .role-btn span {
    font-size: 10px;
  }
}

/* ---- High-DPI / Retina Enhancements ---- */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .login-card {
    border: 0.5px solid rgba(255, 255, 255, 0.8);
  }

  .hero-stat {
    border: 0.5px solid rgba(255, 255, 255, 0.08);
  }
}

/* ============================================
   Hero Saudi Arabia Map — Right Side
   ============================================ */

/* Keyframes for hero map */
@keyframes heroOutlineDraw {
  from { stroke-dashoffset: 3000; }
  to { stroke-dashoffset: 0; }
}

@keyframes heroBranchPop {
  0% { opacity: 0; transform: scale(0); }
  60% { opacity: 1; transform: scale(1.8); }
  80% { transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes heroHqPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(3); opacity: 0; }
}

@keyframes heroLabelFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 0.9; transform: translateY(0); }
}

@keyframes heroBranchGlow {
  0%, 100% { opacity: 0.5; filter: drop-shadow(0 0 3px currentColor) drop-shadow(0 0 6px rgba(184,150,86,0.3)); }
  50% { opacity: 1; filter: drop-shadow(0 0 10px currentColor) drop-shadow(0 0 20px rgba(184,150,86,0.4)); }
}

@keyframes heroRadarSweep {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes heroBranchBlink {
  0%, 90%, 100% { opacity: 1; }
  95% { opacity: 0.3; }
}

@keyframes heroConnectionPulse {
  0% { stroke-dashoffset: 20; opacity: 0; }
  20% { opacity: 0.6; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

@keyframes heroMapScale {
  0% { transform: scale(0.85); opacity: 0; }
  60% { transform: scale(1.02); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes heroShimmer {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 200; }
}

@keyframes heroAmbientPulse {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.12); }
}

@keyframes heroOutlineShimmer {
  0% { opacity: 0.12; filter: drop-shadow(0 0 6px rgba(184,150,86,0.15)); }
  50% { opacity: 0.45; filter: drop-shadow(0 0 18px rgba(184,150,86,0.4)) drop-shadow(0 0 40px rgba(184,150,86,0.1)); }
  100% { opacity: 0.12; filter: drop-shadow(0 0 6px rgba(184,150,86,0.15)); }
}

@keyframes heroFloatMap {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.015); }
}

@keyframes heroMapBreathing {
  0%, 100% {
    filter: drop-shadow(0 4px 50px rgba(184, 150, 86, 0.45))
           drop-shadow(0 0 100px rgba(184, 150, 86, 0.2))
           drop-shadow(0 0 160px rgba(184, 150, 86, 0.08));
  }
  50% {
    filter: drop-shadow(0 6px 60px rgba(184, 150, 86, 0.55))
           drop-shadow(0 0 120px rgba(184, 150, 86, 0.3))
           drop-shadow(0 0 200px rgba(184, 150, 86, 0.12));
  }
}

@keyframes heroNetworkPulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.45; }
}

/* Map container — prominent positioning */
.hero-map-container {
  width: 50%;
  max-width: 310px;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: heroFloatMap 5s ease-in-out infinite;
  position: relative;
  flex: none;
  min-height: 0;
  perspective: 800px;
}

.hero-map-svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 50px rgba(184, 150, 86, 0.45))
         drop-shadow(0 0 100px rgba(184, 150, 86, 0.2))
         drop-shadow(0 0 160px rgba(184, 150, 86, 0.08));
  animation: heroMapBreathing 6s ease-in-out infinite;
  transform-style: preserve-3d;
}

/* Ambient glow behind map */
.hero-map-ambient {
  animation: heroAmbientPulse 4s ease-in-out infinite;
  transform-origin: center;
}

/* Country outline with draw + shimmer animation */
.hero-outline {
  stroke-dasharray: 3000;
  stroke-dashoffset: 3000;
  animation: heroOutlineDraw 2.5s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}

/* Glow copy of the outline */
.hero-outline-glow {
  stroke-dasharray: 3000;
  stroke-dashoffset: 3000;
  animation: heroOutlineDraw 2.5s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards,
             heroOutlineShimmer 4s ease-in-out infinite 3s;
}

/* Branch dot markers — enhanced with glow */
.hero-branch {
  opacity: 0;
  transform-origin: center;
  transform: scale(0);
  animation: heroBranchPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
             heroBranchGlow 2.5s ease-in-out infinite 3s,
             heroBranchBlink 8s ease-in-out infinite 4s;
  transition: r 0.3s ease, filter 0.3s ease;
  cursor: pointer;
}

.hero-branch:hover {
  filter: drop-shadow(0 0 16px rgba(184, 150, 86, 0.9)) drop-shadow(0 0 30px rgba(184, 150, 86, 0.4)) !important;
  r: 8;
}

/* HQ special marker */
.hero-branch-hq {
  z-index: 10;
  filter: drop-shadow(0 0 12px rgba(184, 150, 86, 0.8)) drop-shadow(0 0 30px rgba(184, 150, 86, 0.4)) drop-shadow(0 0 50px rgba(184, 150, 86, 0.15));
}

.hero-branch-glow {
  opacity: 0;
  animation: heroLabelFade 0.6s ease 1.4s forwards,
             heroAmbientPulse 2.5s ease-in-out infinite 2s;
}

.hero-branch-pulse {
  animation: heroHqPulse 1.8s ease-in-out infinite 1.5s;
  transform-origin: center;
}

/* Network connection lines */
.hero-network-lines line {
  animation: heroNetworkPulse 3s ease-in-out infinite;
}

.hero-network-lines line:nth-child(2) { animation-delay: 0.5s; }
.hero-network-lines line:nth-child(3) { animation-delay: 1s; }
.hero-network-lines line:nth-child(4) { animation-delay: 1.5s; }
.hero-network-lines line:nth-child(5) { animation-delay: 2s; }
.hero-network-lines line:nth-child(6) { animation-delay: 0.8s; }

/* Data flow particles glow */
.hero-data-particles circle {
  filter: drop-shadow(0 0 6px rgba(184, 150, 86, 0.6));
}

/* HQ orbital ring */
.hero-hq-orbit ellipse {
  filter: drop-shadow(0 0 4px rgba(184, 150, 86, 0.3));
}

/* Region labels */
.hero-region-label {
  opacity: 0;
  animation: heroLabelFade 0.6s ease forwards;
  animation-delay: 2.8s;
  pointer-events: none;
  letter-spacing: 0.05em;
  text-shadow: 0 0 16px rgba(184, 150, 86, 0.5), 0 0 30px rgba(184, 150, 86, 0.2), 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* RTL/LTR label visibility */
[dir="rtl"] .hero-region-label-en {
  display: none !important;
}

[dir="rtl"] .hero-region-label-ar {
  display: inline !important;
}

[dir="ltr"] .hero-region-label-en {
  display: inline;
}

[dir="ltr"] .hero-region-label-ar {
  display: none !important;
}

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
  .login-card,
  .login-left,
  .login-right,
  .login-hero-side,
  .login-form-side,
  .hero-content,
  .role-section,
  .login-title,
  .login-subtitle,
  .login-footer,
  .login-logo,
  .login-form .form-group,
  .login-form .login-btn,
  .hero-stat {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .login-bg .hex,
  .login-bg .particle,
  .hero-hex-grid .hero-hex,
  .hero-branch,
  .hero-branch-pulse,
  .hero-branch-glow,
  .hero-region-label {
    animation: none !important;
    opacity: 1 !important;
  }

  .hero-outline {
    animation: none !important;
    stroke-dashoffset: 0 !important;
  }

  .hero-branch {
    transform: scale(1) !important;
  }

  .hero-map-svg {
    animation: none !important;
  }

  .hero-network-lines,
  .hero-data-particles,
  .hero-hq-orbit {
    display: none !important;
  }

  .login-right::before,
  .login-right::after,
  .login-hero-side::before,
  .login-hero-side::after {
    animation: none !important;
  }
}
