/* Auth shell */
body.wee-auth-body { min-height: 100vh; display: flex; background: var(--wee-off); }

.auth-page { display: flex; width: 100%; min-height: 100vh; }
.auth-brand { width: 480px; flex-shrink: 0; background: var(--wee-charcoal); display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 40px; position: relative; overflow: hidden; }
.auth-brand::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; }
.auth-brand::after { content: ""; position: absolute; bottom: -120px; right: -120px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(0,175,175,0.12) 0%, transparent 70%); pointer-events: none; }
.auth-brand-inner { position: relative; z-index: 1; text-align: center; }
.auth-brand-logo svg { width: 120px; height: 60px; fill: var(--wee-teal-light); margin-bottom: 16px; }
.auth-brand-tagline { font-family: var(--wee-font-display); font-size: 11px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: rgba(255,255,255,0.2); }
.auth-brand-copy { margin-top: 18px; max-width: 300px; font-size: var(--wee-text-sm); color: rgba(255,255,255,0.72); line-height: 1.7; }
.auth-brand-footer { position: absolute; bottom: 32px; left: 0; right: 0; text-align: center; font-size: 11px; color: rgba(255,255,255,0.12); z-index: 1; }

.auth-form-panel { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px; background: var(--wee-off); }
.auth-form-container { width: 100%; max-width: 400px; }
.auth-form-header { margin-bottom: 28px; }
.auth-form-title { font-family: var(--wee-font-display); font-size: 24px; font-weight: 800; color: var(--wee-charcoal); letter-spacing: -0.5px; margin-bottom: 6px; }
.auth-form-subtitle { font-size: var(--wee-text-base); color: var(--wee-grey); line-height: 1.5; }
.auth-form-subtitle a { color: var(--wee-teal); font-weight: 600; text-decoration: none; }
.auth-form-subtitle a:hover { color: var(--wee-teal-hover); text-decoration: underline; }
.auth-card { background: var(--wee-white); border: 1px solid var(--wee-rule); border-radius: var(--wee-radius-xl); padding: 28px; box-shadow: var(--wee-shadow-md); }
.auth-field { margin-bottom: 18px; }
.auth-field:last-child { margin-bottom: 0; }
.auth-password-wrap { position: relative; }
.auth-password-wrap .wee-input { padding-right: 44px; }
.auth-password-toggle { position: absolute; right: 1px; top: 1px; bottom: 1px; width: 40px; display: flex; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; color: var(--wee-grey-light); border-radius: 0 var(--wee-radius-md) var(--wee-radius-md) 0; transition: color var(--wee-duration) var(--wee-ease); }
.auth-password-toggle:hover { color: var(--wee-grey); }
.auth-password-toggle i { font-size: 16px; }
.auth-options { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.auth-link { font-size: var(--wee-text-sm); font-weight: 600; color: var(--wee-teal); text-decoration: none; }
.auth-link:hover { color: var(--wee-teal-hover); text-decoration: underline; }
.auth-submit { width: 100%; height: 44px; border: none; border-radius: var(--wee-radius-md); background: var(--wee-teal); color: var(--wee-white); font-family: var(--wee-font-display); font-size: var(--wee-text-base); font-weight: 700; letter-spacing: 0.3px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all var(--wee-duration) var(--wee-ease); }
.auth-submit:hover { background: var(--wee-teal-hover); box-shadow: 0 4px 14px rgba(0,139,139,0.3); }
.auth-submit:active { transform: translateY(1px); }
.auth-divider { display: flex; align-items: center; gap: 14px; margin: 22px 0; }
.auth-divider::before,
.auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--wee-rule); }
.auth-divider span { font-size: 11px; font-weight: 600; color: var(--wee-grey-light); text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; }
.auth-social { display: flex; gap: 10px; flex-wrap: wrap; }
.auth-social-btn { flex: 1; min-width: 120px; height: 42px; border: 1px solid var(--wee-rule); border-radius: var(--wee-radius-md); background: var(--wee-white); font-family: var(--wee-font-body); font-size: var(--wee-text-sm); font-weight: 600; color: var(--wee-mid); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: all var(--wee-duration) var(--wee-ease); text-decoration: none; }
.auth-social-btn:hover { background: var(--wee-light); border-color: var(--wee-grey-light); color: var(--wee-mid); }
.auth-social-btn i { font-size: 16px; }
.auth-footer-text { text-align: center; margin-top: 18px; font-size: var(--wee-text-sm); color: var(--wee-grey); }
.auth-footer-text a { color: var(--wee-teal); font-weight: 600; text-decoration: none; }
.auth-footer-text a:hover { text-decoration: underline; }
.auth-validation.validation-summary-valid { display: none; }
.auth-validation ul { list-style: none; margin: 0; padding: 0; }
.auth-validation li { margin: 0; }
.auth-field .text-danger { display: block; margin-top: 4px; font-size: 11px; font-weight: 500; color: var(--wee-error) !important; }
.setup-auth-header { margin-bottom: 22px; }
.setup-auth-card { max-width: 460px; }
.setup-info-box { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 20px; padding: 14px 16px; border: 1px solid var(--wee-rule); border-left: 4px solid var(--wee-teal); border-radius: var(--wee-radius-md); background: var(--wee-light); color: var(--wee-mid); font-size: var(--wee-text-sm); line-height: 1.6; }
.setup-info-box i { color: var(--wee-teal); margin-top: 2px; }
.setup-password-indicator { margin-top: 6px; font-size: 12px; color: var(--wee-grey-light); }
.setup-password-indicator.match { color: var(--wee-success); }
.setup-password-indicator.mismatch { color: var(--wee-error); }

@media (max-width: 960px) {
  .auth-brand { width: 360px; padding: 32px; }
}

@media (max-width: 768px) {
  .auth-page { flex-direction: column; }
  .auth-brand { width: 100%; padding: 24px; min-height: auto; flex-direction: row; justify-content: center; gap: 14px; }
  .auth-brand-inner { text-align: left; display: flex; align-items: center; gap: 14px; }
  .auth-brand-logo svg { width: 72px; height: 36px; margin-bottom: 0; }
  .auth-brand-tagline,
  .auth-brand-copy,
  .auth-brand-footer { display: none; }
  .auth-form-panel { padding: 28px 20px; }
  .auth-card { padding: 22px; }
}

@media (max-width: 480px) {
  .auth-social { flex-direction: column; }
  .auth-options { flex-direction: column; align-items: flex-start; }
}
