/* =============================================
   MarketPulse — Shared Stylesheet
   Used by: index.html, login.html, register.html
   ============================================= */

:root {
  --navy:   #0A1628;
  --navy2:  #112240;
  --blue:   #1E3A5F;
  --accent: #00C896;
  --gold:   #F5A623;
  --red:    #FF4D6D;
  --text:   #E8EDF5;
  --muted:  #7A8BA6;
  --card:   #162032;
  --border: rgba(255,255,255,0.08);
}

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

body {
  background: var(--navy);
  color: var(--text);
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

/* ── NAVBAR ── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: rgba(10,22,40,0.97);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-right { display: flex; gap: 10px; }

/* ── BUTTONS ── */
.btn {
  padding: 9px 20px;
  border-radius: 7px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  font-family: Arial, sans-serif;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s;
}
.btn:hover { opacity: 0.88; }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
}
.btn-accent {
  background: var(--accent);
  border: none;
  color: #000;
}
.btn-accent-lg {
  background: var(--accent);
  border: none;
  color: #000;
  padding: 13px 32px;
  font-size: 1rem;
  border-radius: 8px;
}
.btn-outline-lg {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 13px 32px;
  font-size: 1rem;
  border-radius: 8px;
}

/* ── FORM ELEMENTS ── */
.form-group { margin-bottom: 18px; }

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.92rem;
  font-family: Arial, sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus { border-color: var(--accent); }
.form-input::placeholder { color: var(--muted); }

/* ── FOOTER ── */
footer {
  background: var(--navy2);
  border-top: 1px solid var(--border);
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--muted);
}
footer a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 20px;
}
footer a:hover { color: var(--text); }

/* ── UTILITY ── */
.section { max-width: 1200px; margin: 0 auto; padding: 52px 48px; }
.section-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 24px; }
