
    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    :root {
      --orange: #fd7e14;
      --orange-soft: rgba(253, 126, 20, 0.12);
      --orange-glow: rgba(253, 126, 20, 0.22);
      --blue: #2a3fad;
      --blue-soft: rgba(42, 63, 173, 0.08);
      --text: #111827;
      --sub: #6b7280;
      --border: #e5e7eb;
      --bg: #fafaf8;
      --card: #ffffff;
      --input-bg: #f9f8f6;
    }

    body {
      font-family: 'Outfit', sans-serif;
      background: var(--bg);
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px 16px;
      position: relative;
      overflow: hidden;
    }

    /* ── Background mesh ── */
    .bg-mesh {
      position: fixed;
      inset: 0;
      pointer-events: none;
      overflow: hidden;
      z-index: 0;
    }

    .bg-mesh span {
      position: absolute;
      border-radius: 50%;
      filter: blur(80px);
      opacity: 0.55;
    }

    .bg-mesh span:nth-child(1) {
      width: 520px;
      height: 520px;
      background: radial-gradient(circle, rgba(253, 126, 20, 0.13), transparent 70%);
      top: -160px;
      right: -100px;
    }

    .bg-mesh span:nth-child(2) {
      width: 440px;
      height: 440px;
      background: radial-gradient(circle, rgba(42, 63, 173, 0.10), transparent 70%);
      bottom: -120px;
      left: -80px;
    }

    .bg-mesh span:nth-child(3) {
      width: 220px;
      height: 220px;
      background: radial-gradient(circle, rgba(253, 126, 20, 0.07), transparent 70%);
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }

    /* ── Card ── */
    .card {
      background: var(--card);
      border-radius: 28px;
      padding: 32px 48px 44px;
      width: 100%;
      max-width: 460px;
      position: relative;
      z-index: 1;
      box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.04),
        0 8px 16px rgba(0, 0, 0, 0.05),
        0 32px 80px rgba(0, 0, 0, 0.09);
      animation: cardIn 0.6s cubic-bezier(.22, .68, 0, 1.2) both;
    }

    @keyframes cardIn {
      from {
        opacity: 0;
        transform: translateY(32px) scale(0.97);
      }

      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    /* Orange top accent line */
    .card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 72px;
      height: 4px;
      background: linear-gradient(90deg, var(--orange), #ffb347);
      border-radius: 0 0 6px 6px;
    }

    /* ── Logo zone ── */
    .logo-zone {
      text-align: center;
      margin-bottom: 10px;
      animation: fadeUp 0.5s ease 0.1s both;
    }


    /* ── Title zone ── */
    .title-zone {
      text-align: center;
      margin-bottom: 24px;
      animation: fadeUp 0.5s ease 0.18s both;
    }

    .title-zone h1 {
      font-family: 'Playfair Display', serif;
      font-weight: 700;
      font-size: 26px;
      color: var(--text);
      letter-spacing: -0.3px;
      margin-bottom: 6px;
    }

    .title-zone h1 em {
      font-style: normal;
      color: var(--orange);
    }

    .title-zone p {
      font-size: 14px;
      color: var(--sub);
      font-weight: 400;
    }

    /* ── Separator ── */
    .sep {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 20px;
      animation: fadeUp 0.5s ease 0.22s both;
    }

    .sep::before,
    .sep::after {
      content: '';
      flex: 1;
      height: 1px;
      background: var(--border);
    }

    .sep span {
      font-size: 11px;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--sub);
      white-space: nowrap;
    }

    /* ── Alert ── */
    .alert {
      display: none;
      align-items: flex-start;
      gap: 10px;
      padding: 13px 15px;
      border-radius: 12px;
      font-size: 13.5px;
      margin-bottom: 16px;
      line-height: 1.5;
      animation: fadeUp 0.3s ease both;
    }

    .alert i {
      font-size: 17px;
      flex-shrink: 0;
      margin-top: 1px;
    }

    .alert.error {
      background: #fff3f2;
      border: 1px solid #ffcdc9;
      color: #b91c1c;
      display: flex;
    }

    .alert.success {
      background: #f0fdf4;
      border: 1px solid #bbf7d0;
      color: #15803d;
      display: flex;
    }

    /* ── Form groups ── */
    .form-group {
      margin-bottom: 20px;
      animation: fadeUp 0.5s ease both;
    }

    .form-group:nth-child(1) {
      animation-delay: 0.28s;
    }

    .form-group:nth-child(2) {
      animation-delay: 0.34s;
    }

    label {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 13px;
      font-weight: 500;
      color: var(--text);
      margin-bottom: 8px;
    }

    label i {
      font-size: 15px;
      color: var(--orange);
    }

    .input-wrap {
      position: relative;
    }

    .input-wrap input {
      width: 100%;
      height: 50px;
      padding: 0 46px 0 18px;
      background: var(--input-bg);
      border: 1.5px solid var(--border);
      border-radius: 13px;
      font-family: 'Outfit', sans-serif;
      font-size: 14.5px;
      color: var(--text);
      outline: none;
      transition: border-color 0.22s, box-shadow 0.22s, background 0.22s;
    }

    .input-wrap input::placeholder {
      color: #c0bdb8;
    }

    .input-wrap input:focus {
      border-color: var(--orange);
      background: #fff;
      box-shadow: 0 0 0 4px var(--orange-glow);
    }

    /* Hide browser's default password reveal button */
    .input-wrap input[type="password"]::-webkit-reveal-button,
    .input-wrap input[type="password"]::-ms-reveal {
      display: none;
    }

    .toggle-pw {
      position: absolute;
      right: 14px;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      cursor: pointer;
      color: #c0bdb8;
      font-size: 18px;
      display: flex;
      align-items: center;
      transition: color 0.2s;
      padding: 0;
    }

    .toggle-pw:hover {
      color: var(--orange);
    }

    /* ── Footer row ── */
    .form-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 20px;
      animation: fadeUp 0.5s ease 0.40s both;
    }

    .remember {
      display: flex;
      align-items: center;
      gap: 8px;
      cursor: pointer;
      font-size: 13px;
      color: var(--sub);
      user-select: none;
    }

    .remember input[type="checkbox"] {
      width: 16px;
      height: 16px;
      accent-color: var(--orange);
      cursor: pointer;
    }

    .forgot {
      font-size: 13px;
      font-weight: 500;
      color: var(--blue);
      text-decoration: none;
      transition: opacity 0.2s;
    }

    .forgot:hover {
      opacity: 0.7;
      text-decoration: underline;
    }

    /* ── Submit button ── */
    .btn-submit {
      width: 100%;
      height: 52px;
      background: linear-gradient(135deg, #fd7e14 0%, #ff9a3c 100%);
      border: none;
      border-radius: 14px;
      font-family: 'Outfit', sans-serif;
      font-size: 15.5px;
      font-weight: 600;
      color: white;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      letter-spacing: 0.2px;
      box-shadow: 0 6px 22px rgba(253, 126, 20, 0.4);
      transition: transform 0.18s, box-shadow 0.18s, filter 0.18s;
      position: relative;
      overflow: hidden;
      animation: fadeUp 0.5s ease 0.46s both;
    }

    .btn-submit::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
      pointer-events: none;
    }

    .btn-submit:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 30px rgba(253, 126, 20, 0.46);
      filter: brightness(1.04);
    }

    .btn-submit:active {
      transform: translateY(0);
      box-shadow: 0 4px 14px rgba(253, 126, 20, 0.32);
    }

    .spinner {
      display: none;
      width: 18px;
      height: 18px;
      border: 2.5px solid rgba(255, 255, 255, 0.35);
      border-top-color: white;
      border-radius: 50%;
      animation: spin 0.7s linear infinite;
    }

    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }

    .btn-submit.loading .btn-text {
      display: none;
    }

    .btn-submit.loading .spinner {
      display: block;
    }

    /* ── Bottom note ── */
    .bottom-note {
      margin-top: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      font-size: 12px;
      color: #b0aaa4;
      animation: fadeUp 0.5s ease 0.52s both;
    }

    .bottom-note i {
      font-size: 14px;
      color: var(--blue);
      opacity: 0.7;
    }

    @keyframes fadeUp {
      from {
        opacity: 0;
        transform: translateY(14px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* ── Responsive ── */
    @media (max-width: 500px) {
      .card {
        padding: 44px 24px 36px;
        border-radius: 22px;
      }

      .title-zone h1 {
        font-size: 22px;
      }

    }
