/* ============================================================
   auth.css
   ============================================================ */

:root {
  --primary:        #3D9082;
  --primary-dark:   #2e6e64;
  --primary-light:  rgba(61, 144, 130, 0.12);
  --secondary:      #000E49;
  --secondary-soft: rgba(0, 14, 73, 0.06);

  --white:          #ffffff;
  --bg:             #f0f2f7;
  --border:         #e4e8f0;
  --text:           #1a2340;
  --text-muted:     #6b7a99;
  --danger:         #e53e3e;
  --success:        #16a34a;

  --heading-font:   'Anton', sans-serif;
  --body-font:      'Montserrat', sans-serif;

  /* ── Font Sizes — Headings ── */
  --fs-h1: 40px;
  --fs-h2: 32px;
  --fs-h3: 26px;
  --fs-h4: 22px;
  --fs-h5: 18px;
  --fs-h6: 15px;

  /* ── Font Sizes — Body ── */
  --fs-base: 14px;
  --fs-lg:   16px;
  --fs-sm:   13px;
  --fs-xs:   12px;
  --fs-xxs:  11px;

  --radius:         14px;
  --radius-sm:      8px;
  --shadow:         0 8px 40px rgba(0, 14, 73, 0.13);
  --transition:     0.22s ease;
}


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

body {
  font-family: var(--body-font);
  background-color: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  align-items: stretch;
}

h1 { font-family: var(--heading-font); font-size: var(--fs-h1); letter-spacing: 0.02em; }
h2 { font-family: var(--heading-font); font-size: var(--fs-h2); letter-spacing: 0.02em; }
h3 { font-family: var(--heading-font); font-size: var(--fs-h3); letter-spacing: 0.02em; }
h4 { font-family: var(--heading-font); font-size: var(--fs-h4); letter-spacing: 0.02em; }
h5 { font-family: var(--heading-font); font-size: var(--fs-h5); letter-spacing: 0.02em; }
h6 { font-family: var(--heading-font); font-size: var(--fs-h6); letter-spacing: 0.02em; }
a { text-decoration: none; color: inherit; }

/* ============================================================
   AUTH WRAPPER — Split Screen
   ============================================================ */
   
.auth-wrapper {
  display: flex;
  width: 100%;
  min-height: 100vh;
}


.auth-brand {
  flex: 0 0 42%;
  background-color: var(--secondary);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px 52px;
  position: relative;
  overflow: hidden;
}


.auth-brand::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(61, 144, 130, 0.18);
  top: -80px;
  right: -120px;
  pointer-events: none;
}

.auth-brand::after {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61,144,130,0.15) 0%, transparent 70%);
  bottom: 60px;
  left: -60px;
  pointer-events: none;
}
.auth-brand-logo {
    text-align: center;
    display: inline-flex;
    justify-content: center;
}
.auth-brand-logo img {
    background: #fff;
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 10px 20px;
	 height: auto;
	display: block;
	box-shadow: var(--shadow);
    width: 180px;
	
}

.auth-brand-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 0 32px;
    text-align: center;
    align-items: center;
}

.auth-brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(61, 144, 130, 0.18);
  border: 1px solid rgba(61, 144, 130, 0.35);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 24px;
  width: fit-content;
}

.auth-brand-tag i { font-size: 12px; }

.auth-brand-heading {
  font-family: var(--heading-font);
  font-size: 42px;
  line-height: 1.05;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.auth-brand-heading span {
  color: var(--primary);
}

.auth-brand-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  max-width: 300px;
}


.auth-brand-features {
  list-style: none;
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-brand-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.70);
  font-weight: 500;
}

.auth-brand-features li i {
  width: 30px;
  height: 30px;
  background-color: rgba(61, 144, 130, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 13px;
  flex-shrink: 0;
}

.auth-brand-footer {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.28);
    font-weight: 500;
    text-align: center;
}

.auth-form-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background-color: var(--bg);
    flex-direction: column;
    gap: 20px;
}
.auth-form-panel .auth-brand-logo {
    display: none;
}
.auth-form-box {
  width: 100%;
  max-width: 420px;
}


.auth-card {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  animation: authFadeUp 0.4s ease both;
}

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


.auth-card-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.auth-card-icon i {
  font-size: 22px;
  color: var(--primary);
}

.auth-card-title {
  font-family: var(--heading-font);
  font-size: 26px;
  color: var(--secondary);
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.auth-card-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.5;
}


.auth-field {
  margin-bottom: 18px;
}

.auth-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 7px;
}

.auth-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--body-font);
  font-size: 14px;
  color: var(--text);
  background-color: var(--bg);
  outline: none;
  transition: border-color var(--transition), background-color var(--transition), box-shadow var(--transition);
}

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

.auth-input:focus {
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(61, 144, 130, 0.12);
}


.auth-input-wrap {
  position: relative;
}

.auth-input-wrap .auth-input {
  padding-right: 44px;
}

.auth-eye-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
  transition: color var(--transition);
  display: flex;
  align-items: center;
}

.auth-eye-btn:hover { color: var(--primary); }


.auth-error {
  font-size: 12px;
  color: var(--danger);
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}


.auth-status {
  background-color: rgba(22, 163, 74, 0.10);
  border: 1px solid rgba(22, 163, 74, 0.25);
  color: var(--success);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}


.auth-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.auth-remember input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}

.auth-remember label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  cursor: pointer;
}


.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 8px;
}


.auth-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  background-color: var(--primary);
  color: var(--white);
  font-family: var(--body-font);
  font-weight: 700;
  font-size: 14px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
  letter-spacing: 0.03em;
}

.auth-btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(61, 144, 130, 0.35);
}

.auth-btn-primary:active { transform: translateY(0); }


.auth-link {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  transition: color var(--transition);
}

.auth-link:hover { color: var(--primary-dark); }

.auth-link--muted {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  transition: color var(--transition);
}

.auth-link--muted:hover { color: var(--text); }


.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--border);
}


.auth-footer-text {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}


.auth-info-box {
  background-color: var(--primary-light);
  border: 1px solid rgba(61, 144, 130, 0.25);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 13px;
  color: var(--secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.auth-info-box i {
  color: var(--primary);
  font-size: 16px;
  margin-top: 1px;
  flex-shrink: 0;
}


.auth-verify-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .auth-brand {display: none; }
  .auth-form-panel { padding: 32px 20px; }
  .auth-card { padding: 32px 28px; }
  .auth-form-panel .auth-brand-logo {display: block;}
}

@media (max-width: 480px) {
  .auth-card { padding: 28px 20px; }
  .auth-card-title { font-size: 22px; }
}

/* ============================================================
   RESPONSIVE TYPOGRAPHY
   ============================================================ */


@media (max-width: 768px) {
  :root {
    --fs-h1: 28px;
    --fs-h2: 24px;
    --fs-h3: 20px;
    --fs-h4: 18px;
    --fs-h5: 16px;
    --fs-h6: 14px;

    --fs-base: 14px;
    --fs-lg:   15px;
    --fs-sm:   13px;
    --fs-xs:   12px;
    --fs-xxs:  10px;
  }
}


@media (max-width: 480px) {
  :root {
    --fs-h1: 24px;
    --fs-h2: 20px;
    --fs-h3: 18px;
    --fs-h4: 16px;
    --fs-h5: 15px;
    --fs-h6: 13px;

    --fs-base: 13px;
    --fs-lg:   14px;
    --fs-sm:   12px;
    --fs-xs:   11px;
    --fs-xxs:  10px;
  }
}
