/* StageFrightFix - Shared Styles */
:root {
  --red: #e63946;
  --navy: #1d3557;
  --dark: #0d1b2a;
  --light: #f1faee;
  --accent: #457b9d;
  --success: #2a9d8f;
  --warning: #e9c46a;
  --text: #e8f0fe;
  --text-muted: #8fa3b1;
  --card-bg: #12243a;
  --border: rgba(255,255,255,0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--dark);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

/* NAV */
nav {
  background: var(--navy);
  border-bottom: 2px solid var(--red);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.1rem;
}

.nav-brand .logo-icon {
  font-size: 1.4rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links .btn-nav {
  background: var(--red);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 600;
  transition: opacity 0.2s;
}

.nav-links .btn-nav:hover {
  opacity: 0.85;
  color: white;
}

/* MAIN CONTAINER */
main {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--red);
  color: white;
}

.btn-primary:hover {
  background: #c1121f;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--navy);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.btn-success {
  background: var(--success);
  color: white;
}

.btn-success:hover {
  background: #1f7a6e;
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.1rem;
  border-radius: 50px;
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
}

/* CARDS */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}

/* BADGES */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-red { background: rgba(230,57,70,0.2); color: var(--red); }
.badge-blue { background: rgba(29,53,87,0.5); color: #a8d8ea; border: 1px solid rgba(168,216,234,0.2); }

/* FORM ELEMENTS */
select, input, textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 12px 16px;
  font-size: 1rem;
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
}

select:focus, input:focus, textarea:focus {
  border-color: var(--accent);
}

select option {
  background: var(--dark);
}

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group {
  margin-bottom: 20px;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.2rem; }
  main { padding: 24px 16px 60px; }
  nav { padding: 0 16px; }
  .btn-large { padding: 14px 28px; font-size: 1rem; }
}
