/* ============================================================
   guest-new.css — Purified & Optimized
   Generated by: CSS Purifier & Optimizer Skill
   Rules applied: R1-R10
   Original: guest.css
   ============================================================ */

/* ============================================================
   1. CSS VARIABLES (:root + dark theme)
   ============================================================ */

/*
  guest.css inherits all tokens from home.css and auth-base.css.
  Dark theme is fully covered by [data-theme="dark"] in home-new.css.
  No additional variables required.
*/

/* ============================================================
   2. RESET / BASE
   ============================================================ */

body {
  background: var(--bg);
}

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */

.auth-header .auth-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.4rem 0;
}

.auth-header .auth-subtitle {
  font-size: 0.83rem;
  color: var(--text-2);
  margin: 0;
  line-height: 1.5;
}

.step-description {
  font-size: 0.78rem;
  color: var(--text-2);
  text-align: center;
  margin-bottom: 1.2rem;
}

.step-title {
  text-align: center;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-weight: 600;
}

/* ============================================================
   4. LAYOUT
   ============================================================ */

.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
}

.auth-container .auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem 2.5rem;
  max-width: 520px;
  width: 100%;
  position: relative;
}

.auth-container .form-group {
  margin-bottom: 1.2rem;
}

/* Form navigation */
.form-navigation {
  display: flex;
  gap: 1rem;
  margin-top: 1.2rem;
}

.form-navigation .btn {
  flex: 1;
  justify-content: center;
}

/* ============================================================
   5. NAVIGATION / HEADER
   ============================================================ */

.auth-container .auth-header-controls {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

/* ============================================================
   6. COMPONENTS
   ============================================================ */

.auth-header {
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
  padding-top: 2.5rem;
}

.logo-container {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.logo-img {
  max-width: 80px;
  height: auto;
  border-radius: 10px;
  background-color: #ffffff;

}

/* ============================================================
   7. BUTTONS
   ============================================================ */

.btn-block {
  width: 100%;
  display: flex;
  justify-content: center;
}

.btn-secondary {
  background: var(--bg-2);
  color: var(--text);
  border: 1px solid var(--border-2);
  justify-content: center;
}

.btn-secondary:hover {
  background: var(--bg-3);
  border-color: var(--accent);
  color: var(--accent);
}

.btn-secondary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Success green — semantic color, no CSS var equivalent */
.btn-success {
  background: #10b981;
  color: var(--bg);
  border: none;
  justify-content: center;
}

.btn-success:hover {
  background: #059669;
  transform: translateY(-2px);
}

.btn-success:focus-visible {
  outline: 2px solid #10b981;
  outline-offset: 2px;
}

/* ============================================================
   8. MODALS & OVERLAYS
   ============================================================ */

/* Toast notification styles unified in main.css */

/* ============================================================
   9. UTILITIES
   ============================================================ */

.auth-container .auth-footer {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
  gap: var(--spacing-md, 1rem);
  flex-wrap: wrap;
}

.auth-container .auth-footer .btn {
  flex: 1 1 calc(50% - var(--spacing-md, 1rem));
  justify-content: center;
  margin-top: 0;
}

.auth-container .auth-footer .btn span {
  white-space: nowrap;
}

/* ============================================================
   10. RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
  .auth-container {
    padding: 1rem;
  }

  .auth-container .auth-card {
    padding: 1.5rem 1.5rem 2rem;
  }

  .auth-header .auth-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .auth-container .auth-card {
    padding: 1.5rem 1rem 1.5rem;
  }

  .auth-header .auth-title {
    font-size: 1.2rem;
  }

  .logo-img {
    max-width: 68px;
  }

  .form-navigation {
    flex-direction: column;
  }

  .auth-container .auth-footer .btn {
    flex-basis: 100%;
  }
}

@media (max-width: 576px) {
  .auth-container .auth-footer {
    flex-direction: column;
  }

  .auth-container .auth-footer .btn {
    width: 100%;
  }
}
