/* ============================================================
   legal.css — Shared styles for Nuvio One legal pages
   Used by: privacy.html, terms.html, data-requests.html
   ============================================================ */

/* ── Page hero banner ─────────────────────────────────────── */
.policy-hero {
  background: var(--navy, #1B2B5E);
  /* padding-top = fixed navbar height (72px) + breathing room (3rem) */
  padding: calc(72px + 3rem) 0 3rem;
  color: #fff;
}
/* On mobile the navbar is typically shorter */
@media (max-width: 991.98px) {
  .policy-hero {
    padding-top: calc(60px + 2.5rem);
  }
}
.policy-hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.policy-hero p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  margin: 0;
}

/* ── Updated / version badge ──────────────────────────────── */
.updated-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 0.3rem 0.9rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1rem;
}

/* ── Page body wrapper ────────────────────────────────────── */
.policy-body {
  padding: 3.5rem 0 5rem;
}

/* ── Sticky side navigation ───────────────────────────────── */
.policy-nav {
  position: sticky;
  top: 80px;
  background: #fff;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
}
.policy-nav h6 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500, #6b7280);
  margin-bottom: 0.75rem;
}
.policy-nav a {
  display: block;
  font-size: 0.82rem;
  color: var(--navy, #1B2B5E);
  text-decoration: none;
  padding: 0.3rem 0;
  border-left: 2px solid transparent;
  padding-left: 0.75rem;
  transition: all 0.15s;
  line-height: 1.4;
}
.policy-nav a:hover,
.policy-nav a.active {
  border-left-color: var(--blue, #2176ff);
  color: var(--blue, #2176ff);
}

/* ── Individual section ───────────────────────────────────── */
.policy-section {
  margin-bottom: 2.8rem;
  scroll-margin-top: 100px;
}
.policy-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy, #1B2B5E);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--border, #e5e7eb);
}
.policy-section h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy, #1B2B5E);
  margin: 1.4rem 0 0.5rem;
}
.policy-section p,
.policy-section li {
  font-size: 0.92rem;
  color: #374151;
  line-height: 1.8;
}
.policy-section ul,
.policy-section ol {
  padding-left: 1.4rem;
  margin-bottom: 0.8rem;
}
.policy-section li {
  margin-bottom: 0.3rem;
}

/* ── Highlight / info box ─────────────────────────────────── */
.highlight-box {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-left: 4px solid var(--blue, #2176ff);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  margin: 1rem 0 1.2rem;
}
.highlight-box p {
  margin: 0;
  font-size: 0.88rem;
  color: #1e40af;
}
.highlight-box strong {
  color: #1e3a8a;
}

/* Warning variant */
.highlight-box.warning {
  background: #FFFBEB;
  border-color: #FDE68A;
  border-left-color: var(--amber, #d97706);
}
.highlight-box.warning p {
  color: #92400e;
}
.highlight-box.warning strong {
  color: #78350f;
}

/* ── Data tables ──────────────────────────────────────────── */
.scope-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin: 1rem 0 1.4rem;
  border-radius: 10px;
  overflow: hidden;
}
.scope-table th {
  background: var(--navy, #1B2B5E);
  color: #fff;
  padding: 0.65rem 0.9rem;
  font-weight: 600;
  font-size: 0.82rem;
  text-align: left;
}
.scope-table td {
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--border, #e5e7eb);
  vertical-align: top;
  color: #374151;
  line-height: 1.6;
}
.scope-table tr:last-child td {
  border-bottom: none;
}
.scope-table tr:nth-child(even) td {
  background: #F9FAFB;
}
.scope-table code {
  background: #F3F4F6;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--navy, #1B2B5E);
}

/* ── Contact / info card ──────────────────────────────────── */
.contact-card {
  background: var(--gray-50, #f9fafb);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 12px;
  padding: 1.4rem 1.6rem;
  margin-top: 1rem;
}
.contact-card p {
  margin: 0.2rem 0;
  font-size: 0.88rem;
}
.contact-card a {
  color: var(--blue, #2176ff);
  text-decoration: none;
}
.contact-card a:hover {
  text-decoration: underline;
}

/* ── Form styles (used on data-requests page) ─────────────── */
.legal-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy, #1B2B5E);
  margin-bottom: 0.3rem;
  display: block;
}
.legal-form .form-control,
.legal-form .form-select {
  font-size: 0.88rem;
  border-color: var(--border, #e5e7eb);
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  color: #374151;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.legal-form .form-control:focus,
.legal-form .form-select:focus {
  border-color: var(--blue, #2176ff);
  box-shadow: 0 0 0 3px rgba(33,118,255,0.12);
}
.legal-form .form-hint {
  font-size: 0.78rem;
  color: var(--gray-500, #6b7280);
  margin-top: 0.25rem;
}
.legal-form .btn-submit {
  background: var(--blue, #2176ff);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.65rem 1.8rem;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.legal-form .btn-submit:hover {
  background: #1a5fd4;
  transform: translateY(-1px);
}

/* ── Request type cards ───────────────────────────────────── */
.request-type-card {
  border: 2px solid var(--border, #e5e7eb);
  border-radius: 12px;
  padding: 1.2rem 1.3rem;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  height: 100%;
}
.request-type-card:hover {
  border-color: var(--blue, #2176ff);
  background: #F5F8FF;
}
.request-type-card.selected {
  border-color: var(--blue, #2176ff);
  background: #EFF6FF;
}
.request-type-card .card-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--blue-lt, #dbeafe);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: var(--blue, #2176ff);
}
.request-type-card h6 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy, #1B2B5E);
  margin-bottom: 0.25rem;
}
.request-type-card p {
  font-size: 0.78rem;
  color: var(--gray-500, #6b7280);
  margin: 0;
  line-height: 1.5;
}

/* ── Status timeline (data requests) ─────────────────────── */
.status-step {
  display: flex;
  gap: 1rem;
  margin-bottom: 0;
}
.status-step:not(:last-child) .step-line-col::after {
  content: '';
  display: block;
  width: 2px;
  flex: 1;
  background: var(--border, #e5e7eb);
  margin: 0.3rem auto;
  min-height: 24px;
}
.step-line-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 32px;
  flex-shrink: 0;
}
.step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue-lt, #dbeafe);
  border: 2px solid var(--blue, #2176ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue, #2176ff);
  flex-shrink: 0;
}
.step-content {
  padding-bottom: 1.4rem;
}
.step-content h6 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy, #1B2B5E);
  margin-bottom: 0.2rem;
}
.step-content p {
  font-size: 0.82rem;
  color: var(--gray-500, #6b7280);
  margin: 0;
  line-height: 1.5;
}
