/* GandiWave Auth pages - relies on tokens already defined in style.css */

.auth-wrap{
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 20px;
  background: var(--cream);
}

.auth-card{
  width: 100%;
  max-width: 420px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow);
}

.auth-logo{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
  margin-bottom: 6px;
}
.auth-logo .wave-mark span{ background: linear-gradient(180deg, var(--gold), var(--clay)); }

.auth-title{
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 26px;
  color: var(--ink);
  margin: 18px 0 6px;
}
.auth-sub{
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 26px;
}
.auth-sub a{ color: var(--clay-deep); font-weight: 600; text-decoration: none; }
.auth-sub a:hover{ text-decoration: underline; }

.auth-form{ display: flex; flex-direction: column; gap: 16px; }
.auth-form label{
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auth-form input{
  font-family: 'Inter', Arial, sans-serif;
  font-size: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--cream);
  color: var(--ink);
}
.auth-form input:focus{
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
  background: #FFFFFF;
}
.auth-form .field-hint{ font-weight: 400; color: var(--muted); font-size: 12px; }

.auth-form button{
  margin-top: 4px;
  justify-content: center;
  width: 100%;
  border: none;
  cursor: pointer;
}

.auth-row-between{
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}
.auth-row-between a{ color: var(--clay-deep); font-weight: 600; text-decoration: none; }
.auth-row-between a:hover{ text-decoration: underline; }
.auth-checkbox{ display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); }
.auth-checkbox input{ width: auto; }

.auth-alert{
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 18px;
  line-height: 1.5;
}
.auth-alert-error{ background: #FBE7E4; color: var(--clay-deep); border: 1px solid #F0C4BD; }
.auth-alert-ok{ background: #E7F3EA; color: #2E6B3E; border: 1px solid #C6E4CC; }

.auth-divider{
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 22px 0;
}
.auth-divider::before, .auth-divider::after{
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ---- Account page ---- */
.account-wrap{ padding: 56px 0 80px; background: #FFFFFF; }
.account-header{ display: flex; align-items: center; gap: 18px; margin-bottom: 32px; }
.account-avatar{
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--cream-alt); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 26px;
  color: var(--clay-deep); overflow: hidden;
}
.account-avatar img{ width: 100%; height: 100%; object-fit: cover; }
.account-header h1{ font-family: 'Space Grotesk', sans-serif; font-size: 24px; }
.account-header .email{ color: var(--muted); font-size: 14px; }

.account-card{
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
}
