/* Single-page layout (index.html) */

.site-view.hidden {
  display: none !important;
}

body.dashboard-active {
  background: var(--cream, #fdf6ec);
}

body.dashboard-active .landing-nav {
  display: none;
}

/* Auth views — full split layout (matches standalone login/signup design) */
body.site-auth-active {
  overflow-x: hidden;
}

body.site-auth-active .landing-nav {
  display: none;
}

#site-auth.site-view--auth {
  min-height: 100vh;
  padding: 0;
  background: var(--cream, #fdf6ec);
}

#site-auth .site-auth-panel {
  min-height: 100vh;
}

#site-auth .site-auth-panel.hidden {
  display: none !important;
}

#site-auth .auth-page.site-auth-page {
  min-height: 100vh;
}

#site-auth .auth-panel-left {
  color: var(--white, #fff);
}

#site-auth .site-auth-page--login .auth-panel-left {
  background: linear-gradient(135deg, #1b4332 0%, #0d2818 45%, #c0392b 100%);
}

#site-auth .site-auth-page--signup .auth-panel-left {
  background: linear-gradient(135deg, #c0392b 0%, #e67e22 55%, #1b4332 100%);
}

#site-auth .auth-brand-logo {
  color: #fff;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  font-weight: 700;
  font-size: 1.5rem;
  text-decoration: none;
  display: inline-block;
}

#site-auth .auth-brand-logo:hover {
  opacity: 0.92;
}

#site-auth .auth-quote {
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  max-width: 400px;
  margin: 0;
  border: none;
  padding: 0;
}

#site-auth .auth-quote-attribution {
  margin-top: 1.5rem;
  opacity: 0.85;
  position: relative;
  z-index: 1;
}

#site-auth .auth-mountain-deco {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  opacity: 0.15;
  width: 200px;
  pointer-events: none;
}

#site-auth .auth-form-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

#site-auth .auth-form-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}

#site-auth .auth-form-header h1 {
  font-size: 1.75rem;
  color: var(--forest, #1b4332);
  margin: 0 0 0.35rem;
  font-weight: 700;
}

#site-auth .auth-form-header p {
  color: #6b7280;
  margin: 0;
  font-size: 0.95rem;
}

#site-auth .auth-page-enhanced .auth-form-container {
  max-width: 480px;
  width: 100%;
}

#site-auth .signup-card.auth-form-container {
  max-width: 560px;
}

#site-auth .password-input-wrap {
  position: relative;
}

#site-auth .password-input-wrap input {
  padding-right: 3.25rem;
}

#site-auth .password-toggle {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  font-size: 0.85rem;
  font-weight: 600;
}

#site-auth .auth-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

#site-auth .auth-remember {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--forest, #1b4332);
  cursor: pointer;
  margin: 0;
}

#site-auth .auth-remember input {
  width: auto;
  margin: 0;
}

#site-auth .auth-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--crimson, #c0392b);
  text-decoration: none;
}

#site-auth .auth-link:hover {
  text-decoration: underline;
}

#site-auth .btn-block {
  width: 100%;
}

#site-auth .auth-switch {
  text-align: center;
  margin-top: 1.5rem;
}

#site-auth .auth-switch a {
  font-weight: 600;
  color: var(--crimson, #c0392b);
}

#site-auth .auth-back-link {
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

#site-auth .wizard-step-heading {
  text-align: center;
  margin-bottom: 1.5rem;
}

#site-auth .wizard-step-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0;
  color: var(--forest, #1b4332);
}

#site-auth .wizard-step-sub {
  color: #666;
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
}

#site-auth .login-container,
#site-auth .signup-container {
  margin: 0;
}

@media (max-width: 768px) {
  #site-auth .auth-panel-left {
    display: none;
  }

  #site-auth .auth-page-enhanced .auth-form-container {
    margin: 1rem auto;
    padding: 1.75rem 1.25rem;
  }
}
