/* ZARVO OS — Auth Pages */

.auth-root {
  min-height: 100vh;
  display: flex;
  position: relative;
  overflow: hidden;
}

/* Left panel — branding */
.auth-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
  position: relative;
  z-index: 1;
}
.auth-logo-mark {
  font-size: 1.4rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}
.auth-tagline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  color: var(--text-0);
}
.auth-tagline .highlight {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.auth-sub {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 380px;
  margin-bottom: 48px;
}
.auth-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.auth-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-2);
}
.auth-feature-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 8px var(--orange);
  flex-shrink: 0;
}

/* Decorative glow sphere */
.auth-sphere {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.auth-sphere-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,107,0,0.12), transparent 70%);
  top: -100px; left: -100px;
}
.auth-sphere-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,160,87,0.12), transparent 70%);
  bottom: -80px; left: 30%;
}

/* Right panel — form */
.auth-right {
  width: 460px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-left: 1px solid var(--border-dim);
  position: relative;
  z-index: 1;
}

.auth-form-header {
  margin-bottom: 32px;
}
.auth-form-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-0);
  margin-bottom: 6px;
}
.auth-form-sub {
  font-size: 0.85rem;
  color: var(--text-2);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.input-with-action {
  position: relative;
}
.input-with-action .form-input {
  padding-right: 44px;
}
.input-action-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-3);
  cursor: pointer;
  padding: 4px;
  border-radius: var(--r-xs);
  transition: color var(--t-fast);
  display: flex;
  align-items: center;
}
.input-action-btn:hover { color: var(--text-1); }

.auth-error {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  font-size: 0.8rem;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 8px;
  display: none;
}
.auth-error.show { display: flex; animation: slideUp 0.3s var(--spring); }

.auth-submit-btn {
  width: 100%;
  justify-content: center;
  padding: 12px;
  font-size: 0.88rem;
  margin-top: 4px;
  position: relative;
  overflow: hidden;
}
.auth-submit-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.08) 100%);
}

.auth-footer-link {
  text-align: center;
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--text-2);
}
.auth-footer-link a {
  color: var(--orange);
  font-weight: 600;
  transition: color var(--t-fast);
}
.auth-footer-link a:hover {
  color: var(--text-0);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-dim);
}
.auth-divider span {
  font-size: 0.72rem;
  color: var(--text-3);
}

@media (max-width: 900px) {
  .auth-left { display: none; }
  .auth-right {
    width: 100%;
    border-left: none;
    padding: 32px 24px;
    min-height: 100vh;
    background: var(--bg);
  }
}

.forgot-link {
  color: var(--orange);
  font-weight: 600;
  font-size: 0.78rem;
  text-decoration: none;
  transition: color var(--t-fast);
}
.forgot-link:hover {
  color: var(--text-0);
}


