/* =============================================
   AccessPatch — Auth Pages CSS (register/login)
   ============================================= */

.auth-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 24px;
}
.auth-body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(59,130,246,0.1), transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(124,58,237,0.08), transparent 60%);
  pointer-events: none;
}
.auth-wrapper { width: 100%; max-width: 460px; position: relative; }
.auth-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
}
.auth-logo {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; color: var(--white);
  font-weight: 700; font-size: 18px; margin-bottom: 28px;
}
.auth-logo span { font-size: 22px; }
.auth-title { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.auth-subtitle { color: var(--gray-3); font-size: 14px; margin-bottom: 28px; }

.alert {
  padding: 12px 16px; border-radius: 10px; font-size: 14px;
  margin-bottom: 20px; font-weight: 500;
}
.alert-error { background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.3); color: #fca5a5; }
.alert-success { background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.3); color: #86efac; }

.auth-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 13px; font-weight: 600; color: var(--gray-2);
  display: flex; justify-content: space-between; align-items: center;
}
.forgot-link { font-size: 12px; color: var(--blue); text-decoration: none; font-weight: 400; }
.forgot-link:hover { text-decoration: underline; }
.form-group input {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--white);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}
.form-group input::placeholder { color: var(--gray-4); }

/* Plan selector */
.plan-selector-label { font-size: 13px; font-weight: 600; color: var(--gray-2); margin-bottom: 8px; }
.plan-options { display: flex; gap: 8px; }
.plan-option {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  padding: 10px 8px; border: 1px solid var(--border);
  border-radius: 10px; cursor: pointer; transition: all 0.2s;
  gap: 2px;
}
.plan-option input { display: none; }
.plan-option:hover { border-color: var(--blue); }
.plan-option.selected { border-color: var(--blue); background: rgba(59,130,246,0.1); }
.plan-option-name { font-size: 13px; font-weight: 600; color: var(--white); }
.plan-option-price { font-size: 11px; color: var(--gray-3); }

.btn-submit {
  padding: 14px; background: linear-gradient(135deg, var(--blue), var(--purple));
  color: white; border: none; border-radius: 10px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  transition: all 0.2s; margin-top: 4px;
  font-family: 'Inter', sans-serif;
}
.btn-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(59,130,246,0.4); }

.auth-terms { font-size: 12px; color: var(--gray-4); text-align: center; }
.auth-terms a { color: var(--gray-3); }
.auth-switch { text-align: center; font-size: 14px; color: var(--gray-3); margin-top: 20px; }
.auth-switch a { color: var(--blue); text-decoration: none; font-weight: 600; }
.auth-switch a:hover { text-decoration: underline; }
