/* Shared styles for Vulu auth pages (signup, signin, verify-email,
   reset-password, account). Loaded standalone on each HTML page; no
   dependency on the library-page styles in index.html. */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #000;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body {
  background:
    radial-gradient(circle at 85% 85%, rgba(78, 55, 170, 0.28), rgba(0,0,0,0) 28%),
    radial-gradient(circle at 25% 20%, rgba(22, 87, 205, 0.14), rgba(0,0,0,0) 22%),
    #000;
}

.auth-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 32px 16px;
}

.auth-topbar {
  width: 100%;
  max-width: 460px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.auth-brand {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
}

.auth-topbar-link {
  font-size: 13px;
  color: #aaa;
  text-decoration: none;
}
.auth-topbar-link:hover { color: #fff; }

.auth-card {
  width: 100%;
  max-width: 460px;
  background: #0d0d0d;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.auth-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.25;
}

.auth-subtitle {
  font-size: 14px;
  color: #aaa;
  margin: 0 0 24px;
  line-height: 1.5;
}

.auth-field {
  display: block;
  margin-bottom: 14px;
}
.auth-field label {
  display: block;
  font-size: 12px;
  color: #aaa;
  margin-bottom: 4px;
}
.auth-field input {
  width: 100%;
  padding: 11px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
  color: #fff;
  font-size: 14px;
  font-family: inherit;
}
.auth-field input:focus {
  outline: none;
  border-color: #2d6cdf;
  background: rgba(255,255,255,0.07);
}

.auth-btn {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease;
}
.auth-btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.auth-btn-primary {
  background: #2d6cdf;
  color: #fff;
}
.auth-btn-primary:hover:not([disabled]) { background: #3a7be8; }
.auth-btn-secondary {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
}
.auth-btn-secondary:hover:not([disabled]) { background: rgba(255,255,255,0.1); }
.auth-btn-google {
  background: #fff;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.auth-btn-google:hover:not([disabled]) { background: #f3f3f3; }
.auth-btn-google svg { width: 18px; height: 18px; }

.auth-divider {
  display: flex;
  align-items: center;
  margin: 18px 0;
  color: #555;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.1);
}
.auth-divider span { padding: 0 12px; }

.auth-footer {
  margin-top: 18px;
  font-size: 13px;
  color: #888;
  text-align: center;
  line-height: 1.5;
}
.auth-footer a {
  color: #6e9efb;
  text-decoration: none;
}
.auth-footer a:hover { text-decoration: underline; }

.auth-error {
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(220, 53, 53, 0.12);
  border: 1px solid rgba(220, 53, 53, 0.4);
  color: #ff9b9b;
  font-size: 13px;
  margin-bottom: 14px;
  line-height: 1.45;
  display: none;
}
.auth-error.is-shown { display: block; }

.auth-success {
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(76, 196, 110, 0.08);
  border: 1px solid rgba(76, 196, 110, 0.3);
  color: #b6ecc4;
  font-size: 13px;
  margin-bottom: 14px;
  line-height: 1.5;
  display: none;
}
.auth-success.is-shown { display: block; }

.auth-info {
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(45, 108, 223, 0.08);
  border: 1px solid rgba(45, 108, 223, 0.3);
  color: #c5d8fb;
  font-size: 13px;
  margin-bottom: 14px;
  line-height: 1.5;
}

.verify-banner {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, rgba(234, 88, 12, 0.2), rgba(220, 53, 53, 0.2));
  border-bottom: 1px solid rgba(234, 88, 12, 0.4);
  color: #ffd5b8;
  font-size: 13px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.verify-banner a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  font-size: inherit;
  font-family: inherit;
  padding: 0;
}
