    :root {
      --primary-color: #27b462;
      --secondary-color: #3463db;
      --light: #f8f9fa;
      --dark: #212529;
      --gray: #6c757d;
      --gray-light: #e9ecef;
      --white: #ffffff;
      --danger: #ef476f;
      --warning: #f59e0b;
      --bg-card: #ffffff;
      --border-color: #e5e7eb;
      --primary-gradient: -webkit-linear-gradient(1deg, #3847ef 0%, #99e9a5 100%);
      --primary-gradient-2: linear-gradient(1deg, #3847ef 0%, #99e9a5 100%);
      --theme-mix-color: -webkit-linear-gradient(1deg, #99e9a5 0%, #3847ef 100%);
      --disabled-gradient: #ededed;
      --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
      --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
      --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      --sidebar-width: 250px;
      --sidebar-width-collapsed: 70px;
      --header-height: 85px;
      --card-radius: 12px;
      --radius-sm: 4px;
      --radius-md: 8px;
      --transition-speed: 0.3s;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;
      min-height: 100vh;
      display: flex;
      align-items: stretch;
      justify-content: center;
      background:
        radial-gradient(circle at top left, rgba(153, 233, 165, 0.5), transparent 60%),
        radial-gradient(circle at bottom right, rgba(56, 71, 239, 0.35), transparent 55%),
        var(--light);
      color: var(--dark);
    }

    .page {
      display: grid;
      grid-template-columns: 1.1fr 1fr;
      max-width: 1120px;
      width: 100%;
      margin: 24px;
      border-radius: 24px;
      overflow: hidden;
      background: var(--white);
      box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.13);
      border: 1px solid var(--border-color);
    }

    /* Left / brand side (kept slightly soft, not dark) */
    .left {
      position: relative;
      padding: 32px 40px;
      border-right: 1px solid var(--border-color);
      background:
        radial-gradient(circle at top, rgba(153, 233, 165, 0.4), transparent 60%),
        radial-gradient(circle at bottom, rgba(56, 99, 219, 0.25), transparent 55%),
        linear-gradient(135deg, #f0fdf4, #eef2ff);
      overflow: hidden;
    }

    .left-inner {
      position: relative;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 32px;
    }



    .hero-title {
      font-size: 30px;
      line-height: 1.2;
      font-weight: 600;
      letter-spacing: -0.03em;
      color: var(--dark);
    }

    .hero-title span {
      background-image: var(--primary-gradient-2);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .hero-subtitle {
      margin-top: 10px;
      font-size: 14px;
      color: var(--gray);
      max-width: 370px;
    }

    .hero-subtitle span {
      font-size: 12px;
    }

    .metrics {
      margin-top: 26px;
      display: grid;
      flex-wrap: wrap;
      gap: 14px;
    }

    .metric-pill {
      padding: 8px 12px;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.6);
      background: rgba(255, 255, 255, 0.7);
      font-size: 11px;
      display: inline-flex;
      width: fit-content;
      align-items: center;
      gap: 8px;
      color: var(--gray);
      box-shadow: var(--shadow-sm);
    }

    .metric-dot {
      width: 7px;
      height: 7px;
      border-radius: 999px;
      background: var(--primary-color);
      box-shadow: 0 0 0 4px rgba(39, 180, 98, 0.2);
    }

    .bottom-note {
      font-size: 11px;
      color: var(--gray);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
    }

    .status-pill {
      padding: 6px 10px;
      border-radius: 999px;
      font-size: 11px;
      border: 1px solid rgba(39, 180, 98, 0.25);
      background: rgba(240, 253, 244, 0.9);
      color: var(--dark);
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .status-dot {
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: var(--primary-color);
    }

    /* Right / form side (light card) */
    .right {
      padding: 32px 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--light);
    }

    .form-card {
      width: 100%;
      max-width: 430px;
      border-radius: var(--card-radius);
      padding: 26px 26px 20px;
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-md);
    }

    .form-header {
      margin-bottom: 18px;
    }

    .form-eyebrow {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--gray);
      margin-bottom: 4px;
    }

    .form-title {
      font-size: 18px;
      text-transform: uppercase;
      font-weight: 600;
      background-image: var(--primary-gradient-2);
      background-clip: text;
      color: transparent;
      -webkit-background-clip: text;
    }

    .form-sub {
      font-size: 12px;
      color: var(--gray);
      margin-top: 6px;
    }

    .form-sub a {
      color: var(--secondary-color);
      text-decoration: none;
      font-weight: 500;
    }

    .form-sub a:hover {
      text-decoration: underline;
    }

    .oauth-row {
      /* margin: 14px 0 12px; */
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 5px;
    }
.oauth-row a{
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #3463db;
  
}
    .oauth-btn {
      padding: 8px 10px;
      border-radius: 999px;
      border: 1px solid var(--border-color);
      background: var(--white);
      font-size: 11px;
      color: var(--dark);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      cursor: pointer;
      transition: var(--transition);
    }

    .oauth-btn span.icon {
      width: 18px;
      height: 18px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      color: var(--dark);
      background: var(--gray-light);
    }

    .oauth-btn:hover {
      background: var(--light);
      box-shadow: var(--shadow-sm);
    }

    .divider {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 11px;
      color: var(--gray);
      margin: 14px 0 10px;
    }

    .divider-line {
      flex: 1;
      height: 1px;
      background: linear-gradient(to right,
          transparent,
          rgba(148, 163, 184, 0.9),
          transparent);
    }

    form {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .field {
      display: flex;
      flex-direction: column;
      gap: 6px;
      font-size: 12px;
    }

    .field-label-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }

    label {
      color: var(--dark);
      font-size: 12px;
    }

    .field-control {
      position: relative;
    }

    .field-control input {
      width: 100%;
      padding: 9px 20px 9px 20px;
      border-radius: 999px;
      border: 1px solid var(--border-color);
      background: var(--white);
      color: var(--dark);
      font-size: 13px;
      outline: none;
      transition: var(--transition);
    }

    .field-control input::placeholder {
      color: var(--gray);
    }

    .field-control input:focus {
      border-color: var(--secondary-color);
      box-shadow: 0 0 0 1px rgba(52, 99, 219, 0.7),
        0 0 0 6px rgba(52, 99, 219, 0.1);
    }

    .field-icon {
      position: absolute;
      left: 10px;
      top: 50%;
      transform: translateY(-50%);
      width: 18px;
      height: 18px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      color: var(--gray);
      background: var(--gray-light);
    }

    .password-toggle {
      position: absolute;
      right: 10px;
      top: 50%;
      transform: translateY(-50%);
      width: 28px;
      height: 28px;
      border-radius: 999px;
      border: none;
      background: transparent;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      color: var(--gray);
      padding: 0;
      transition: var(--transition);
    }

    .password-toggle:hover {
      background: var(--gray-light);
      color: var(--dark);
    }

    .password-toggle svg {
      width: 18px;
      height: 18px;
    }

    .field-error {
      font-size: 11px;
      color: var(--danger);
      display: none;
      margin-top: 3px;
    }

    .field-control input:invalid:not(:placeholder-shown)~.field-error {
      display: block;
    }

    .row-inline {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: 4px;
      gap: 8px;
    }

    .checkbox {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 11px;
      color: var(--gray);
      cursor: pointer;
    }

    .checkbox input {
      width: 14px;
      height: 14px;
      border-radius: 4px;
      border: 1px solid var(--border-color);
      cursor: pointer;
      accent-color: var(--primary-color);
    }

    .forgot-link {
      font-size: 11px;
      color: var(--secondary-color);
      text-decoration: none;
    }

    .forgot-link:hover {
      text-decoration: underline;
    }

    .submit-btn {
      margin-top: 8px;
      width: 100%;
      border: none;
      border-radius: 999px;
      padding: 10px 16px;
      font-size: 13px;
      font-weight: 500;
      color: var(--white);
      background-image: var(--primary-gradient-2);
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      box-shadow:
        0 14px 30px rgba(56, 71, 239, 0.35);
      transition: var(--transition);
    }

    .submit-btn:hover {
      transform: translateY(-1px);
      box-shadow:
        0 18px 40px rgba(56, 71, 239, 0.45);
    }

    .submit-btn:active {
      transform: translateY(0);
      box-shadow:
        0 8px 20px rgba(56, 71, 239, 0.4);
    }

    .submit-btn span.chevron {
      font-size: 14px;
      transform: translateY(0.5px);
    }

    .meta-row {
      margin-top: 10px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      font-size: 11px;
      color: var(--gray);
    }

    .env-pill {
      padding: 4px 9px;
      border-radius: 999px;
      border: 1px dashed var(--border-color);
      color: var(--dark);
      background: var(--gray-light);
    }

    .legal-links a {
      color: var(--gray);
      text-decoration: none;
      margin-left: 8px;
    }

    .legal-links a:hover {
      color: var(--secondary-color);
    }

    /* Responsive */
    @media (max-width: 900px) {
      .page {
        grid-template-columns: 1fr;
        max-width: 480px;
      }

      .left {
        display: none;
      }

      .right {
        padding: 24px 20px;
      }

      .form-card {
        max-width: none;
      }
    }

    @media (max-width: 520px) {
      .page {
        margin: 16px;
      }

      .form-card {
        padding: 22px 18px 18px;
      }
    }

    .privacr-card {
      max-width: 430px !important;
    }

    .privacr-card p {
      font-size: 13px;
      margin-bottom: 12px;
      line-height: 1.8;
    }
  .privacr-card address{
  font-size: 12px;
 }
 .privacr-card a{
  text-decoration: none;
  color: #15803d;
 }
    .privacy-policy-box {
      height: 400px;
      overflow: auto;
      background: #fafafa;
      padding: 20px;
    }

    .important {
      background-color: #fff8e1;
      border-left: 4px solid #ffc107;
      border-radius: 0 4px 4px 0;
      padding: 12px;
      margin-bottom: 16px;
      text-align: left;
    }


    .box h2 {
      font-size: 16px;
      margin-top: 0;
      color: #15803d;
      margin: 20px 0;
    }

    .box h3 {
      font-size: 14px;
      margin-top: 0;
      color: #15803d;
      margin: 20px 0;
    }
    .privacr-card aside{
          display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 10px;
    border-radius: 12px;
    align-self: start;
    }
    .privacr-card .aside-title{
         font-size: 17px;
      font-weight: 600;
      background-image: var(--primary-gradient-2);
      background-clip: text;
      color: transparent;
      -webkit-background-clip: text;
    }
    .privacr-card .button-group {
    display: flex;
    justify-content: end;
    gap: 8px;
}
      .privacr-card .btn-small {
            padding: 8px 16px;
            border-radius: 6px;
            border: 0;
            font-weight: 600;
            cursor: pointer;
            font-size: 13px;
            transition: all 0.2s ease;
            background: #f3f4f6;
            color: #374151;
        }

        .privacr-card .btn-small:hover {
            background: #e5e7eb;
        }

        .privacr-card .btn-small.active {
            background: var(--primary-color);
            color: white;
        }

        .privacr-card .btn-small.active:hover {
            background: var(--secondary-color);
        }
  

  /* assets/css/login.css additions */

/* Arabic font support */
[lang="ar"] body {
    font-family: 'Poppins', 'Arial', 'Tahoma', sans-serif;
    text-align: right;
}

/* Thai font support */
[lang="th"] body {
    font-family: 'Poppins', 'Sarabun', 'Arial', sans-serif;
}

/* Vietnamese font support */
[lang="vi"] body {
    font-family: 'Poppins', 'Arial', sans-serif;
}

/* Hindi font support */
[lang="hi"] body {
    font-family: 'Poppins', 'Arial', 'Nirmala UI', sans-serif;
}

/* Chinese font support (if you add it later) */
[lang="zh"] body {
    font-family: 'Poppins', 'Microsoft YaHei', 'SimHei', sans-serif;
}

/* Ensure proper line heights for different scripts */
[lang="ar"], [lang="th"], [lang="hi"] {
    line-height: 1.8;
}

/* Right-to-left language specific styles */
[dir="rtl"] .left-inner,
[dir="rtl"] .form-card {
    text-align: right;
}

[dir="rtl"] .field-label-row {
    justify-content: flex-end;
}

[dir="rtl"] .row-inline {
    flex-direction: row-reverse;
}

[dir="rtl"] .oauth-btn {
    flex-direction: row-reverse;
}

[dir="rtl"] .submit-btn .chevron {
    transform: rotate(180deg);
    margin-right: 8px;
    margin-left: 0;
}

/* Language switcher improvements */
.language-dropdown {
    max-height: 400px;
    overflow-y: auto;
}

.language-option {
    padding: 12px 16px;
}



.terms-error {
    margin-top: 10px;
    font-size: 11px;        /* bigger font */
    color: red;         /* strong red */
    line-height: 1.4;
}

.alert-success {
    font-size: 12px; 
    color: green;    
    font-weight: bold; 
}

