
    body {
      font-family: var(--ff-font-body);
      background: var(--ff-surface-3);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    .login-wrapper {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 40px 20px;
    }

    .login-card {
      background: #fff;
      border-radius: 20px;
      box-shadow: 0 8px 40px rgba(0,0,0,0.10);
      width: 100%;
      max-width: 440px;
      padding: 44px 40px 36px;
      animation: cardIn 0.4s ease;
    }

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

  .login-logo-banner {
      background: #ffffff;
      margin: -44px -40px 24px -40px;
      padding: 22px 40px 20px;
      border-bottom: 1px solid var(--ff-line-faint);
      border-radius: 20px 20px 0 0;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .login-logo-banner img {
      height: 52px;
    }

    .login-card h1 {
      font-family: var(--ff-font-display); font-weight: var(--ff-display-fw); text-transform: var(--ff-display-tt); letter-spacing: var(--ff-display-ls);
      font-size: 1.4rem;
      color: var(--ff-ink-deep);
      margin-bottom: 6px;
      text-align: center;
    }

    .login-card .subtitle {
      font-size: 0.88rem;
      color: var(--ff-muted-3);
      text-align: center;
      margin-bottom: 32px;
    }

    .form-group {
      display: flex;
      flex-direction: column;
      gap: 6px;
      margin-bottom: 18px;
    }

    .form-group label {
      font-size: 0.78rem;
      font-weight: 700;
      color: var(--ff-muted);
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    .input-wrap {
      position: relative;
    }

    .input-wrap i {
      position: absolute;
      left: 14px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--ff-muted-5);
      font-size: 0.9rem;
      pointer-events: none;
    }

    .input-wrap input {
      width: 100%;
      padding: 12px 14px 12px 38px;
      border: 2px solid var(--ff-line-strong);
      border-radius: 10px;
      font-size: 0.92rem;
      font-family: var(--ff-font-body);
      color: var(--ff-ink-deep);
      outline: none;
      transition: border-color 0.2s, box-shadow 0.2s;
    }

    .input-wrap input:focus {
      border-color: var(--ff-brand);
      box-shadow: 0 0 0 3px rgba(0,194,238,0.12);
    }

    .forgot {
      text-align: right;
      margin-top: -10px;
      margin-bottom: 24px;
    }

    .forgot a {
      font-size: 0.78rem;
      color: var(--ff-brand);
      text-decoration: none;
    }

    .forgot a:hover { text-decoration: underline; }

    .btn-login {
      width: 100%;
      padding: 14px;
      background: var(--ff-brand);
      color: #fff;
      border: none;
      border-radius: 50px;
      font-family: var(--ff-font-body);
      font-size: 1rem;
      font-weight: 700;
      cursor: pointer;
      transition: background 0.2s, box-shadow 0.2s;
      margin-bottom: 20px;
    }

    .btn-login:hover {
      background: var(--ff-brand-hover);
      box-shadow: 0 0 16px #00c2ee66;
    }

    .btn-login:disabled {
      background: #ccc;
      cursor: not-allowed;
      box-shadow: none;
    }

    .error-msg {
      display: none;
      background: #fff0f0;
      border: 1px solid #ffcdd2;
      color: #c0392b;
      border-radius: 8px;
      padding: 10px 14px;
      font-size: 0.85rem;
      margin-bottom: 16px;
      text-align: center;
    }

    .error-msg.visible { display: block; }

    .divider {
      text-align: center;
      font-size: 0.8rem;
      color: #ccc;
      margin-bottom: 16px;
      position: relative;
    }

    .divider::before, .divider::after {
      content: '';
      position: absolute;
      top: 50%;
      width: 38%;
      height: 1px;
      background: var(--ff-line-strong);
    }

    .divider::before { left: 0; }
    .divider::after  { right: 0; }

    .register-link {
      text-align: center;
      font-size: 0.85rem;
      color: var(--ff-muted-3);
    }

    .register-link a {
      color: var(--ff-brand);
      font-weight: 700;
      text-decoration: none;
    }

    .register-link a:hover { text-decoration: underline; }

    @media (max-width: 480px) {
      .login-card { padding: 36px 20px 28px; }
      .login-logo-banner { margin: -36px -20px 24px -20px; padding: 20px; }
      .login-logo-banner img { height: 42px; }
      .login-card h1 { font-size: 1.2rem; }
    }
