
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --dark: #1e2340;
      --accent: #4f6ef7;
      --accent-hover: #3a57d4;
      --light: #f4f5fb;
      --white: #ffffff;
      --border: #dde1f0;
      --text: #2d3160;
      --muted: #8a8faf;
      --input-bg: #f8f9ff;
      --error: #e74c3c;
      --success: #27ae60;
    }

     html, body {
      height: 100%;
       font-family: 'Inter', sans-serif;
      background: var(--light);
      /*color: #fff8f5;*/
    }

   /* ── Page Layout ── */
    .page {
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px 16px;
      background:#fff8f5;
    
    }

    .card {
      width: 100%; max-width: 900px;
      display: grid; grid-template-columns: 340px 1fr;
      border-radius: 20px; overflow: hidden;
      box-shadow: 0 24px 64px rgba(30,35,64,0.14), 0 4px 16px rgba(30,35,64,0.06);
      animation: fadeUp 0.45s ease both;
    }

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

    /* ── Left Panel ── */
    .panel-left {
       background: linear-gradient(#1e2340d4, #1e2340d6), /* overlay */ url(https://img.freepik.com/free-photo/hand-holding-house-real-estate-property-model_53876-129010.jpg?semt=ais_hybrid&w=740&q=80) no-repeat center center / cover;
      padding: 44px 36px;
      display: flex; flex-direction: column; justify-content: space-between;
      position: relative; overflow: hidden;
    }
    .panel-left::before {
      content: ''; position: absolute;
      width: 260px; height: 260px; border-radius: 50%;
      background: rgba(79,110,247,0.15);
      bottom: -60px; right: -80px;
    }
    .panel-left::after {
      content: ''; position: absolute;
      width: 120px; height: 120px; border-radius: 50%;
      background: rgba(255,255,255,0.04);
      top: 80px; left: -30px;
    }

    /* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
  z-index: 1;
}

.back-link:hover {
  color: #fff;
}

.back-link svg {
  width: 16px;
  height: 16px;
}

/* Brand */
.brand {
  position: relative;
  z-index: 1;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-icon svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.brand-name {
  font-family: 'Inter', sans-serif;
  color: #fff;
  font-size: 22px;
  line-height: 1.1;
}

.brand-name span {
  display: block;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
}

/* Tagline */
.panel-tagline {
  color: rgb(255, 255, 255);
  font-size: 13px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* Right Panel */
.panel-right {
  background: var(--white);
  padding: 44px;
  display: flex;
  flex-direction: column;
  position: relative;
}

    /* ── Screens ── */
.screen {
  display: none;
  flex-direction: column;
  flex: 1;
}

.screen.active {
  display: flex;
}

/* Titles */
.form-title {
  font-family: 'Inter', sans-serif;
  font-size: 26px;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-subtitle {
  font-size: 29px;
  color: var(--dark);
  margin-bottom: 28px;
}

/* ── Field ── */
.field {
  margin-bottom: 18px;
  position: relative;
}

.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.input-wrap {
  position: relative;
}

.input-wrap > svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--muted);
  pointer-events: none;
}

.field input {
  width: 100%;
  background: var(--input-bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px 11px 40px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input::placeholder {
  color: var(--muted);
}

.field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,110,247,0.12);
  background: #fff;
}
    /* Error state */
.field input.error {
  border-color: var(--error);
}

/* Error message */
.field-error {
  font-size: 11.5px;
  color: var(--error);
  margin-top: 5px;
  display: none;
}

.field-error.show {
  display: block;
}

/* ── Password toggle ── */
.pw-toggle {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 0;
  display: flex;
  align-items: center;
}

.pw-toggle svg {
  width: 17px;
  height: 17px;
}

.field input.pw {
  padding-right: 42px;
}

/* ── Field row (label + link) ── */
.field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.field-row label {
  margin-bottom: 0;
}

.forgot-link {
  font-size: 12px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

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

/* ── Remember me ── */
.remember-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}

.remember-row input[type="checkbox"] {
  accent-color: var(--accent);
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.remember-row label {
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
}
    /* ── Submit Button ── */
.btn-submit {
  width: 100%;
   background:#c8102e;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  /*box-shadow: 0 4px 14px rgba(79,110,247,0.35);*/
  margin-bottom: 20px;
}

.btn-submit:hover {
  background: #0f1f3d;
  /*box-shadow: 0 6px 18px rgba(79,110,247,0.4);*/
}

.btn-submit:active {
  transform: scale(0.98);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ── Bottom Link ── */
.bottom-link {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.bottom-link a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

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

/* ── Back Button ── */
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  padding: 0;
  margin-bottom: 24px;
  transition: color 0.2s;
}

.btn-back:hover {
  color: var(--text);
}

.btn-back svg {
  width: 14px;
  height: 14px;
}

/* ── Alert ── */
.alert {
  padding: 10px;
  padding-left: 14px;
  padding-right: 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 18px;
  display: none;
}

.alert.show {
  display: block;
}

.alert.error {
  background: #fdecea;
  color: var(--error);
  border: 1px solid #f5c6c2;
}

.alert.success {
  background: #eafaf1;
  color: var(--success);
  border: 1px solid #b7eace;
}
   /* ── OTP boxes ── */
.otp-wrap {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 22px;
}

.otp-wrap input {
  width: 48px;
  height: 54px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--input-bg);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.otp-wrap input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,110,247,0.12);
  background: #fff;
}

/* ── Resend ── */
.resend-row {
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 22px;
}

.resend-row button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  padding: 0;
}

.resend-row button:disabled {
  color: var(--muted);
  cursor: not-allowed;
}

/* ── Password strength ── */
.strength-bar {
  display: flex;
  gap: 4px;
  margin-top: 8px;
  margin-bottom: 4px;
}

.strength-bar span {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  transition: background 0.3s;
}

.strength-label {
  font-size: 11.5px;
  color: var(--muted);
}

/* ── Success ── */
.success-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-align: center;
  gap: 12px;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: rgba(79,110,247,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon svg {
  width: 32px;
  height: 32px;
  color: var(--accent);
}

.success-body h2 {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  color: var(--dark);
}

.success-body p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Mobile ── */
@media (max-width: 700px) {

  .card {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
.form-subtitle {
           margin-top: 12px;
        font-size: 24px;
        color: var(--dark);
        margin-bottom: 14px;
}
  .panel-left {
    padding: 28px 24px 24px;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    position: relative;
  }

  .panel-left::before {
    display: none;
  }

  .panel-left::after {
    display: none;
  }

  .back-link {
    position: absolute;
    top: 10px;
    left: 20px;
  }

  .brand {
    margin-top: 32px;
  }

  .brand-logo {
    margin-bottom: 0;
  }

  .panel-tagline {
    display: none;
  }

  .panel-right {
    padding: 28px 24px 32px;
  }

  .form-title {
    font-size: 22px;
  }

  .otp-wrap input {
    width: 42px;
    height: 48px;
    font-size: 18px;
  }

}

@media (max-width: 380px) {

  .panel-right {
    padding: 22px 16px 28px;
  }

  .otp-wrap input {
    width: 36px;
    height: 44px;
  }

}
  
.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 22px 0;
  color: #9aa0a6;
  font-size: 14px;
}


.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e0e0e0;
  margin: 0 14px;
}


.divider span {
  white-space: nowrap;
}
.social-login-circle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px; /*  proper spacing */
  margin-top: 16px;
}

.circle-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.25s ease;
}

/* ICON */
.circle-btn i {
  color: #fff;   /* white icon */
  font-size: 18px;
}

/* BRAND COLORS (FULL FILL) */
.google {
  background: #db4437;
}

.facebook {
  background: #1877f2;
}

.twitter {
  background: #000;
}

/* HOVER EFFECT */
.circle-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}
.bottom-link {
    margin-top: 18px
}
  .top-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #6b7280;
  text-decoration: none;
  margin-bottom: 15px;
}

.top-back:hover {
  color: #111827;
}

.top-back svg {
  width: 16px;
  height: 16px;
}
 