
    :root {
      --bg: #eef2f7;
      --card: #ffffff;
      --text: #111827;
      --muted: #6b7280;
      --primary: #2563eb;
      --primary-dark: #1d4ed8;
      --green: #059669;
      --red: #dc2626;
      --orange: #d97706;
      --purple: #7c3aed;
      --border: #e5e7eb;
      --shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
      --radius: 24px;
    }

    * { box-sizing: border-box; }

    body {
      margin: 0;
      min-height: 100vh;
      font-family: "Segoe UI", Tahoma, Arial, sans-serif;
      background:
        radial-gradient(circle at top left, rgba(37,99,235,.20), transparent 30%),
        radial-gradient(circle at bottom right, rgba(124,58,237,.18), transparent 32%),
        linear-gradient(135deg, #eef2f7 0%, #dbe4f0 100%);
      color: var(--text);
      display: grid;
      place-items: center;
      padding: 24px;
      overflow-x: hidden;
    }

    body::before {
      content: "";
      position: fixed;
      width: 420px;
      height: 420px;
      border-radius: 50%;
      background: rgba(37,99,235,.14);
      filter: blur(70px);
      top: -120px;
      right: -120px;
      pointer-events: none;
    }

    body::after {
      content: "";
      position: fixed;
      width: 420px;
      height: 420px;
      border-radius: 50%;
      background: rgba(124,58,237,.12);
      filter: blur(80px);
      bottom: -140px;
      left: -140px;
      pointer-events: none;
    }

    button, input {
      font-family: inherit;
    }

    button {
      border: 0;
      border-radius: 16px;
      padding: 14px 16px;
      font-weight: 900;
      cursor: pointer;
      transition: .2s ease;
    }

    button:hover {
      transform: translateY(-1px);
    }

    input {
      width: 100%;
      border: 1px solid var(--border);
      background: #fff;
      border-radius: 16px;
      padding: 14px 15px;
      outline: none;
      font-size: 15px;
      direction: ltr;
      text-align: left;
    }

    input:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 4px rgba(37,99,235,.12);
    }

    label {
      display: block;
      margin: 14px 0 7px;
      font-weight: 900;
      color: #374151;
      font-size: 14px;
    }

    .login-shell {
      position: relative;
      z-index: 2;
      width: min(1050px, 100%);
      display: grid;
      grid-template-columns: 1fr 430px;
      gap: 22px;
      align-items: stretch;
    }

    .welcome-panel {
      background: linear-gradient(135deg, #111827, #334155);
      color: white;
      border-radius: 34px;
      padding: 36px;
      box-shadow: var(--shadow);
      min-height: 620px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      overflow: hidden;
      position: relative;
    }

    .welcome-panel::before {
      content: "";
      position: absolute;
      width: 360px;
      height: 360px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(37,99,235,.38), transparent 68%);
      top: -100px;
      left: -80px;
    }

    .welcome-panel::after {
      content: "";
      position: absolute;
      width: 320px;
      height: 320px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(124,58,237,.30), transparent 70%);
      bottom: -110px;
      right: -80px;
    }

    .welcome-content,
    .welcome-bottom {
      position: relative;
      z-index: 1;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 13px;
      margin-bottom: 36px;
    }

    .brand-icon {
      width: 58px;
      height: 58px;
      border-radius: 20px;
      background: linear-gradient(135deg, var(--primary), var(--purple));
      color: white;
      display: grid;
      place-items: center;
      font-size: 29px;
      box-shadow: 0 12px 28px rgba(37,99,235,.28);
    }

    .brand h1 {
      margin: 0;
      font-size: 25px;
    }

    .brand p {
      margin: 4px 0 0;
      color: rgba(255,255,255,.66);
      font-weight: 700;
      font-size: 13px;
      direction: ltr;
      text-align: right;
    }

    .welcome-panel h2 {
      margin: 0;
      font-size: 42px;
      line-height: 1.25;
      max-width: 620px;
    }

    .welcome-panel .lead {
      color: rgba(255,255,255,.75);
      font-weight: 700;
      line-height: 1.9;
      font-size: 16px;
      max-width: 680px;
      margin: 18px 0 0;
    }

    .feature-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
      margin-top: 32px;
    }

    .feature-card {
      background: rgba(255,255,255,.08);
      border: 1px solid rgba(255,255,255,.12);
      border-radius: 20px;
      padding: 16px;
      backdrop-filter: blur(10px);
    }

    .feature-card span {
      display: block;
      font-size: 25px;
      margin-bottom: 10px;
    }

    .feature-card b {
      display: block;
      margin-bottom: 6px;
    }

    .feature-card small {
      color: rgba(255,255,255,.66);
      font-weight: 700;
      line-height: 1.6;
    }

    .welcome-bottom {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-top: 28px;
    }

    .pill {
      background: rgba(255,255,255,.10);
      border: 1px solid rgba(255,255,255,.14);
      border-radius: 999px;
      padding: 9px 12px;
      color: rgba(255,255,255,.80);
      font-weight: 900;
      font-size: 13px;
    }

    .login-card {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 34px;
      box-shadow: var(--shadow);
      padding: 30px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      min-height: 620px;
    }

    .mobile-brand {
      display: none;
      align-items: center;
      gap: 12px;
      margin-bottom: 22px;
    }

    .mobile-brand .brand-icon {
      width: 50px;
      height: 50px;
      font-size: 24px;
    }

    .login-card h2 {
      margin: 0;
      font-size: 30px;
    }

    .login-card .sub {
      margin: 8px 0 22px;
      color: var(--muted);
      font-weight: 800;
      line-height: 1.7;
    }

    .input-wrap {
      position: relative;
    }

    .input-icon {
      position: absolute;
      left: 14px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--muted);
      font-weight: 900;
      pointer-events: none;
    }

    .input-wrap input {
      padding-left: 44px;
    }

    .options-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      margin: 14px 0 18px;
      flex-wrap: wrap;
      color: var(--muted);
      font-weight: 800;
      font-size: 13px;
    }

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

    .remember input {
      width: 17px;
      height: 17px;
      accent-color: var(--primary);
    }

    .forgot {
      color: var(--primary);
      text-decoration: none;
      font-weight: 900;
    }

    .login-btn {
      width: 100%;
      background: var(--primary);
      color: white;
      font-size: 16px;
      min-height: 50px;
      box-shadow: 0 12px 28px rgba(37,99,235,.22);
    }

    .login-btn:hover {
      background: var(--primary-dark);
    }

    .helper-box {
      margin-top: 18px;
      background: #f9fafb;
      border: 1px dashed #cbd5e1;
      border-radius: 20px;
      padding: 14px;
      color: #475569;
      font-weight: 800;
      line-height: 1.7;
      font-size: 13px;
    }

    .helper-box b {
      color: #111827;
    }

    .status-row {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
      margin-top: 18px;
    }

    .status-box {
      background: #f9fafb;
      border: 1px solid var(--border);
      border-radius: 17px;
      padding: 11px;
      text-align: center;
    }

    .status-box span {
      display: block;
      font-size: 20px;
      margin-bottom: 4px;
    }

    .status-box small {
      color: var(--muted);
      font-weight: 900;
      font-size: 11px;
    }

    .footer-note {
      margin-top: 20px;
      text-align: center;
      color: var(--muted);
      font-weight: 800;
      font-size: 12px;
    }

    @media (max-width: 980px) {
      body {
        display: block;
        padding: 18px;
      }

      .login-shell {
        grid-template-columns: 1fr;
      }

      .welcome-panel {
        display: none;
      }

      .login-card {
        min-height: auto;
      }

      .mobile-brand {
        display: flex;
      }
    }

    @media (max-width: 560px) {
      body { padding: 12px; }
      .login-card { padding: 22px; border-radius: 28px; }
      .login-card h2 { font-size: 26px; }
      .status-row { grid-template-columns: 1fr; }
    }
