/* Navy Theme Frontend CSS */
:root {
  --navy-primary: #003366;
  --navy-dark: #001f3f;
  --navy-light: #004d99;
  --navy-accent: #0066cc;
  --navy-gold: #ffd700;
  --brand: var(--navy-primary);
  --brand-dark: var(--navy-dark);
  --text: #0f172a;
  --muted: #64748b;
  --bg: #f5f5f5;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.brand-gradient {
  background: linear-gradient(135deg, var(--navy-primary), var(--navy-light));
}

.stat {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.stat .num {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--navy-primary);
}

.stat .label {
  color: var(--muted);
}

.feature-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
}

.testimonial {
  border-left: 4px solid var(--navy-primary);
  padding-left: 1rem;
}

.nav-link.active {
  color: var(--navy-gold) !important;
  font-weight: 600;
}

.btn-brand {
  background: var(--navy-primary);
  border-color: var(--navy-primary);
  color: white;
}

.btn-brand:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: white;
}

.btn-primary {
  background: var(--navy-primary);
  border-color: var(--navy-primary);
  color: white;
}

.btn-primary:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: white;
}

/* Simple Auth Pages */
.auth-page {
  padding: 4rem 0;
  background: radial-gradient(1200px 500px at 10% -10%, rgba(0, 51, 102, 0.08), transparent),
              radial-gradient(900px 400px at 100% 0%, rgba(0, 102, 204, 0.07), transparent);
}

.auth-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  box-shadow: 0 0.75rem 2rem rgba(15, 23, 42, 0.08);
}

.auth-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 1rem;
}

.auth-badge {
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-primary), var(--navy-light));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0.75rem 1.5rem rgba(0, 51, 102, 0.25);
}

.auth-title {
  margin: 0.75rem 0 0;
  font-weight: 700;
  color: var(--navy-primary);
}

.auth-subtitle {
  color: var(--muted);
  font-size: 0.95rem;
}

.auth-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
  margin: 1rem 0;
}

.auth-footer {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 1rem;
  text-align: center;
}

.auth-card h1 {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.auth-card .small,
.auth-links a {
  color: var(--muted);
  text-decoration: none;
}

.auth-links a:hover {
  color: var(--navy-primary);
}

.form-label {
  font-weight: 600;
  color: #334155;
}

.form-control {
  border: 2px solid #e5e7eb;
  border-radius: 0.6rem;
  background: #f8fafc;
  padding: 0.7rem 0.9rem;
}

.form-control:focus {
  border-color: var(--navy-primary);
  box-shadow: 0 0 0 0.2rem rgba(0, 51, 102, 0.15);
  background: #fff;
}

/* Account Pages */
.account-page {
  padding: 3rem 0;
}

.account-sidebar {
  position: sticky;
  top: 90px;
}

.account-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  box-shadow: 0 0.5rem 1.25rem rgba(15, 23, 42, 0.06);
}

.account-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eef2f7;
  margin-bottom: 1rem;
}

.account-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-primary), var(--navy-light));
  color: #fff;
  font-weight: 700;
}

.account-meta {
  color: var(--muted);
  font-size: 0.925rem;
}

.account-section-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--navy-primary);
}

.list-clean {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-clean li {
  padding: 0.5rem 0;
  color: #334155;
}

.list-clean li + li {
  border-top: 1px dashed #e5e7eb;
}
