/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 22-Feb-2026, 7:52:45 PM
    Author     : Acer
*/
/* PAGE LAYOUT */
  .page-wrap {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  /* LEFT PANEL */
  .left-panel {
    background: var(--deep);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 8% 80px;
  }
  .left-panel::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 60%, rgba(29,106,106,0.35) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(200,151,58,0.12) 0%, transparent 50%);
  }
  .left-pattern {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(200,151,58,0.06) 1px, transparent 1px);
    background-size: 40px 40px;
  }
  .left-content { position: relative; z-index: 1; }

  .left-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(200,151,58,0.12);
    border: 1px solid rgba(200,151,58,0.25);
    color: var(--gold-light);
    padding: 0.4rem 1rem; border-radius: 50px;
    font-size: 0.75rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
    margin-bottom: 2rem;
    animation: fadeUp 0.6s ease both;
  }
  .left-badge::before { content: '✦'; }

  .left-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 900; line-height: 1.1;
    color: white;
    margin-bottom: 1.2rem;
    animation: fadeUp 0.6s ease 0.1s both;
  }
  .left-title em { color: var(--gold); font-style: normal; }

  .left-sub {
    font-size: 1rem; color: rgba(255,255,255,0.55);
    line-height: 1.75; margin-bottom: 3rem;
    font-weight: 300;
    animation: fadeUp 0.6s ease 0.2s both;
  }

  .feature-list { display: flex; flex-direction: column; gap: 1.2rem; animation: fadeUp 0.6s ease 0.3s both; }
  .feature-item {
    display: flex; align-items: flex-start; gap: 1rem;
  }
  .feature-check {
    width: 28px; height: 28px; border-radius: 8px;
    background: rgba(29,106,106,0.3);
    border: 1px solid rgba(29,106,106,0.5);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; color: var(--teal-light); flex-shrink: 0;
    margin-top: 2px;
  }
  .feature-text h4 { font-size: 0.9rem; color: white; font-weight: 600; margin-bottom: 0.2rem; }
  .feature-text p { font-size: 0.82rem; color: rgba(255,255,255,0.4); line-height: 1.5; }

  .left-stats {
    display: flex; gap: 2.5rem; margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.07);
    animation: fadeUp 0.6s ease 0.4s both;
  }
  .stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem; font-weight: 900; color: var(--gold);
  }
  .stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 1px; }

  /* RIGHT PANEL — FORM */
  .right-panel {
    background: var(--cream);
    display: flex; align-items: center; justify-content: center;
    padding: 100px 8% 60px;
    position: relative;
  }
  .right-panel::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--teal));
  }

  .form-card {
    width: 100%; max-width: 440px;
    animation: fadeUp 0.7s ease 0.2s both;
  }

  .form-header { margin-bottom: 2.5rem; }
  .form-eyebrow {
    font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 2px; color: var(--gold); margin-bottom: 0.6rem;
  }
  .form-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem; font-weight: 900; color: var(--deep);
    line-height: 1.15; margin-bottom: 0.7rem;
  }
  .form-subtitle { font-size: 0.92rem; color: var(--muted); line-height: 1.6; }
  .form-subtitle a { color: var(--teal); font-weight: 600; text-decoration: none; }
  .form-subtitle a:hover { color: var(--teal-light); }

  .divider {
    width: 50px; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--teal));
    border-radius: 2px; margin: 1rem 0 1.8rem;
  }

  /* FORM FIELDS */
  .field-group { margin-bottom: 1.3rem; }
  .field-label {
    display: block; font-size: 0.82rem; font-weight: 600;
    color: var(--text); margin-bottom: 0.5rem;
    letter-spacing: 0.3px;
  }
  .field-wrap { position: relative; }
  .field-icon {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    font-size: 1rem; pointer-events: none; opacity: 0.45;
  }
  .field-input {
    width: 100%;
    background: white;
    border: 1.5px solid rgba(200,151,58,0.2);
    border-radius: 10px;
    padding: 0.82rem 1rem 0.82rem 2.8rem;
    font-family: 'DM Sans', sans-serif; font-size: 0.93rem;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .field-input::placeholder { color: rgba(122,110,95,0.5); }
  .field-input:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(29,106,106,0.1);
  }
  .field-input.error { border-color: var(--error); }

  /* Password toggle */
  .toggle-pw {
    position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
    background: none; border: none; cursor: pointer;
    font-size: 1rem; opacity: 0.45; transition: opacity 0.2s;
    padding: 0;
  }
  .toggle-pw:hover { opacity: 0.8; }

  .field-hint {
    font-size: 0.78rem; color: var(--muted);
    margin-top: 0.4rem; display: block;
  }
  .field-error {
    font-size: 0.78rem; color: var(--error);
    margin-top: 0.4rem; display: none;
  }
  .field-error.show { display: block; }

  /* Row split */
  .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

  /* Forgot + remember row */
  .extras-row {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1.5rem;
  }
  .remember-wrap { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; }
  .remember-wrap input[type="checkbox"] { accent-color: var(--teal); width: 15px; height: 15px; cursor: pointer; }
  .remember-label { font-size: 0.85rem; color: var(--muted); cursor: pointer; }
  .forgot-link { font-size: 0.85rem; color: var(--teal); font-weight: 600; text-decoration: none; transition: color 0.2s; }
  .forgot-link:hover { color: var(--teal-light); }

  /* Submit */
  .btn-submit {
    width: 100%;
    background: var(--teal); color: white;
    border: none; border-radius: 10px;
    padding: 0.95rem 1rem;
    font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    display: flex; align-items: center; justify-content: center; gap: 0.6rem;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 16px rgba(29,106,106,0.25);
    position: relative; overflow: hidden;
  }
  .btn-submit::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  }
  .btn-submit:hover { background: var(--teal-light); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(29,106,106,0.35); }
  .btn-submit:active { transform: translateY(0); }
  .btn-submit .btn-arrow { transition: transform 0.2s; }
  .btn-submit:hover .btn-arrow { transform: translateX(3px); }

  /* Divider or */
  .or-divider {
    display: flex; align-items: center; gap: 1rem;
    margin: 1.5rem 0;
  }
  .or-divider::before, .or-divider::after {
    content: ''; flex: 1; height: 1px;
    background: rgba(200,151,58,0.2);
  }
  .or-divider span { font-size: 0.8rem; color: var(--muted); font-weight: 500; white-space: nowrap; }

  /* Social btns */
  .social-btns { display: flex; gap: 0.8rem; }
  .btn-social {
    flex: 1; background: white;
    border: 1.5px solid rgba(200,151,58,0.2);
    border-radius: 10px; padding: 0.75rem;
    font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 600;
    color: var(--text); cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    text-decoration: none;
  }
  .btn-social:hover { border-color: var(--gold); box-shadow: 0 2px 12px rgba(200,151,58,0.1); }
  .btn-social img { width: 18px; height: 18px; }

  /* Bottom switch */
  .form-switch {
    text-align: center; margin-top: 1.8rem;
    font-size: 0.88rem; color: var(--muted);
  }
  .form-switch a { color: var(--teal); font-weight: 600; text-decoration: none; }
  .form-switch a:hover { color: var(--teal-light); }

  /* Alert */
  .alert {
    padding: 0.9rem 1.1rem; border-radius: 10px;
    font-size: 0.88rem; margin-bottom: 1.5rem;
    display: flex; align-items: flex-start; gap: 0.6rem;
    border: 1px solid;
    display: none;
  }
  .alert.show { display: flex; }
  .alert-error { background: rgba(192,57,43,0.06); border-color: rgba(192,57,43,0.25); color: #8B1A0E; }
  .alert-success { background: rgba(29,106,106,0.07); border-color: rgba(29,106,106,0.3); color: var(--teal); }

  /* Loading spinner */
  .spinner {
    width: 18px; height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    display: none;
  }
  .btn-submit.loading .spinner { display: block; }
  .btn-submit.loading .btn-text { display: none; }
  .btn-submit.loading .btn-arrow { display: none; }

  @keyframes spin { to { transform: rotate(360deg); } }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* Responsive */
  @media (max-width: 900px) {
    .page-wrap { grid-template-columns: 1fr; }
    .left-panel { display: none; }
    .right-panel { padding: 100px 8% 60px; }
  }
  @media (max-width: 480px) {
    .right-panel { padding: 90px 6% 50px; }
    .field-row { grid-template-columns: 1fr; }
    .social-btns { flex-direction: column; }
  }
