/* RV Shop Ventura — HR Portal Styles */

:root {
  --navy: #1a2744;
  --navy-light: #243460;
  --navy-dark: #0f1a30;
  --gold: #c8962a;
  --gold-light: #e8b84b;
  --gold-pale: #fdf6e3;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --green: #16a34a;
  --green-light: #dcfce7;
  --red: #dc2626;
  --red-light: #fee2e2;
  --yellow: #d97706;
  --yellow-light: #fef3c7;
  --blue: #2563eb;
  --blue-light: #dbeafe;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
  font-family: var(--font);
  background: var(--gray-100);
  color: var(--gray-800);
  min-height: 100vh;
}

/* ===== HEADER ===== */
.site-header {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  color: var(--white);
  padding: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo {
  width: 40px;
  height: 40px;
  background: var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.header-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.header-subtitle {
  font-size: 0.75rem;
  color: var(--gold-light);
  font-weight: 400;
  margin-top: 1px;
}

.header-nav {
  display: flex;
  gap: 8px;
}

.nav-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.nav-btn:hover,
.nav-btn.active {
  background: rgba(200,150,42,0.25);
  border-color: var(--gold);
}

/* ===== MAIN LAYOUT ===== */
.main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 24px;
}

/* ===== VIEWS ===== */
.view { display: none; }
.view.active { display: block; }

/* ===== DASHBOARD ===== */
.dashboard-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 16px;
  padding: 36px 40px;
  color: var(--white);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.dashboard-hero::after {
  content: '🚐';
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 80px;
  opacity: 0.12;
  pointer-events: none;
}

.dashboard-hero h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.dashboard-hero p {
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
}

.action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.action-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 14px;
  padding: 28px 24px;
  cursor: pointer;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.12s;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.action-card:hover {
  border-color: var(--navy);
  box-shadow: 0 6px 24px rgba(26,39,68,0.12);
  transform: translateY(-2px);
}

.action-card.gold:hover {
  border-color: var(--gold);
  box-shadow: 0 6px 24px rgba(200,150,42,0.18);
}

.action-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.action-icon.navy { background: var(--navy); }
.action-icon.gold { background: var(--gold); }

.action-card-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
}

.action-card-content p {
  font-size: 0.83rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--navy);
  color: var(--white);
}

.activity-list {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer;
  transition: background 0.12s;
}

.activity-item:last-child { border-bottom: none; }
.activity-item:hover { background: var(--gray-50); }

.activity-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.activity-dot.green { background: var(--green); }
.activity-dot.gold { background: var(--gold); }
.activity-dot.red { background: var(--red); }

.activity-info { flex: 1; min-width: 0; }

.activity-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-800);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.activity-meta {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 1px;
}

.activity-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.activity-badge.complete { background: var(--green-light); color: var(--green); }
.activity-badge.incomplete { background: var(--red-light); color: var(--red); }
.activity-badge.onboarding { background: var(--blue-light); color: var(--blue); }
.activity-badge.offboarding { background: var(--yellow-light); color: var(--yellow); }

.empty-state {
  padding: 40px 20px;
  text-align: center;
  color: var(--gray-400);
}

.empty-state .empty-icon { font-size: 36px; margin-bottom: 10px; }
.empty-state p { font-size: 0.88rem; }

/* ===== WIZARD ===== */
.wizard-container {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.wizard-header {
  background: var(--navy);
  padding: 22px 28px;
  color: var(--white);
}

.wizard-header h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.progress-bar-track {
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
  height: 5px;
  overflow: hidden;
}

.progress-bar-fill {
  background: var(--gold);
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.step-indicators {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.step-indicator {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
}

.step-indicator.active {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
}

.step-indicator.done {
  background: rgba(255,255,255,0.2);
  color: var(--white);
}

.wizard-body {
  padding: 28px;
}

.wizard-step { display: none; }
.wizard-step.active { display: block; }

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 22px;
  line-height: 1.5;
}

.wizard-footer {
  padding: 18px 28px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--gray-50);
}

/* ===== FORM ELEMENTS ===== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group.full { grid-column: 1 / -1; }

label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
}

label .required {
  color: var(--red);
  margin-left: 2px;
}

input[type="text"],
input[type="date"],
input[type="number"],
select,
textarea {
  padding: 9px 12px;
  border: 1.5px solid var(--gray-300);
  border-radius: 7px;
  font-size: 0.9rem;
  font-family: var(--font);
  color: var(--gray-800);
  transition: border-color 0.15s, box-shadow 0.15s;
  background: var(--white);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,39,68,0.08);
}

select { cursor: pointer; }

.radio-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: 7px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  font-size: 0.88rem;
}

.radio-option input[type="radio"] { cursor: pointer; }
.radio-option:has(input:checked) {
  border-color: var(--navy);
  background: rgba(26,39,68,0.04);
}

/* ===== CHECKLIST ITEMS ===== */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  transition: background 0.12s, border-color 0.12s;
}

.checklist-item.checked {
  background: var(--green-light);
  border-color: #86efac;
}

.checklist-item.na {
  background: var(--gray-100);
  border-color: var(--gray-300);
  opacity: 0.7;
}

.checklist-item-main {
  flex: 1;
  min-width: 0;
}

.checklist-item-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-800);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checklist-item.checked .checklist-item-label {
  text-decoration: line-through;
  color: var(--gray-400);
}

.checklist-item-sublabel {
  font-size: 0.76rem;
  color: var(--gray-400);
  margin-top: 2px;
  line-height: 1.4;
}

.checklist-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.status-select {
  font-size: 0.75rem;
  padding: 4px 8px;
  border: 1px solid var(--gray-300);
  border-radius: 5px;
  background: var(--white);
  cursor: pointer;
}

.doc-date-field {
  font-size: 0.76rem;
  padding: 4px 8px;
  border: 1px solid var(--gray-300);
  border-radius: 5px;
  background: var(--white);
  width: 130px;
}

/* ===== DOCUMENT CARDS ===== */
.doc-card {
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
  transition: border-color 0.15s;
}

.doc-card.received {
  border-color: #86efac;
}

.doc-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--gray-50);
  cursor: pointer;
}

.doc-card.received .doc-card-header {
  background: var(--green-light);
}

.doc-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.doc-card-title {
  flex: 1;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-800);
}

.doc-card.received .doc-card-title {
  color: var(--green);
  text-decoration: line-through;
}

.doc-card-note {
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 600;
  background: var(--gold-pale);
  padding: 2px 8px;
  border-radius: 10px;
}

.doc-card-details {
  padding: 10px 16px;
  border-top: 1px solid var(--gray-200);
  background: var(--white);
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.doc-card-details label {
  font-size: 0.76rem;
  color: var(--gray-600);
}

/* ===== BUTTONS ===== */
.btn {
  padding: 9px 20px;
  border-radius: 7px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
}

.btn:active { transform: scale(0.97); }

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

.btn-primary:hover {
  background: var(--navy-light);
  box-shadow: 0 4px 12px rgba(26,39,68,0.2);
}

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

.btn-gold:hover {
  background: var(--gold-light);
  box-shadow: 0 4px 12px rgba(200,150,42,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-600);
  border: 1px solid var(--gray-300);
}

.btn-ghost:hover {
  background: var(--gray-100);
  color: var(--gray-800);
}

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

.btn-danger:hover { background: #b91c1c; }

.btn-sm {
  padding: 6px 14px;
  font-size: 0.78rem;
}

.btn-lg {
  padding: 12px 28px;
  font-size: 0.95rem;
}

/* ===== SUMMARY ===== */
.summary-section {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  margin-bottom: 16px;
  overflow: hidden;
}

.summary-section-header {
  padding: 12px 16px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
}

.summary-section-body {
  padding: 14px 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 5px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.85rem;
  gap: 12px;
}

.summary-row:last-child { border-bottom: none; }

.summary-label {
  color: var(--gray-600);
  flex-shrink: 0;
}

.summary-value {
  font-weight: 600;
  text-align: right;
}

.summary-incomplete {
  background: var(--red-light);
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: 12px;
}

.summary-incomplete-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 6px;
}

.summary-incomplete-item {
  font-size: 0.78rem;
  color: var(--red);
  padding: 2px 0;
}

.summary-incomplete-item::before {
  content: '⚠️ ';
}

/* ===== CALCULATOR ===== */
.calc-result {
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
  padding: 20px 22px;
  margin-top: 18px;
}

.calc-result-title {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.calc-result-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.88rem;
}

.calc-result-row:last-child { border-bottom: none; }

.calc-result-row span:first-child { color: rgba(255,255,255,0.7); }

.calc-result-row span:last-child { font-weight: 600; }

.calc-result-row.penalty { color: #fca5a5; }

.calc-result-row.total {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.2) !important;
  border-bottom: none !important;
  font-size: 1rem;
  font-weight: 700;
}

.calc-result-row.total span:first-child { color: var(--gold-light); }

.calc-due-date {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  border-radius: 6px;
  padding: 10px 14px;
  margin-top: 12px;
  font-size: 0.9rem;
  text-align: center;
}

.penalty-warning {
  background: var(--red);
  border-radius: 6px;
  padding: 10px 14px;
  margin-top: 8px;
  font-size: 0.82rem;
  text-align: center;
  font-weight: 600;
}

/* ===== RECORDS VIEW ===== */
.records-toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.records-filter {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-600);
  transition: all 0.15s;
}

.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.records-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.record-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.record-card:hover {
  border-color: var(--navy);
  box-shadow: 0 4px 14px rgba(26,39,68,0.1);
}

.record-type-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.record-type-icon.onboarding { background: var(--blue-light); }
.record-type-icon.offboarding { background: var(--yellow-light); }

.record-info { flex: 1; min-width: 0; }

.record-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gray-800);
}

.record-meta {
  font-size: 0.76rem;
  color: var(--gray-400);
  margin-top: 2px;
}

.record-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* ===== LAW REFERENCE ===== */
.law-ref-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 12px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(26,39,68,0.3);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s, box-shadow 0.15s;
  font-family: var(--font);
}

.law-ref-btn:hover {
  background: var(--navy-light);
  box-shadow: 0 8px 24px rgba(26,39,68,0.4);
}

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 300;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open { display: flex; }

.modal {
  background: var(--white);
  border-radius: 16px 16px 0 0;
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.25s ease;
}

@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-header {
  padding: 18px 22px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.modal-header h3 { font-size: 1rem; font-weight: 700; }

.modal-close {
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.modal-close:hover { background: rgba(255,255,255,0.2); }

.modal-body {
  padding: 20px 22px;
  overflow-y: auto;
  flex: 1;
}

.law-ref-section {
  margin-bottom: 20px;
}

.law-ref-section h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--gold);
}

.law-ref-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.law-ref-table th {
  background: var(--gray-100);
  color: var(--gray-700);
  font-weight: 700;
  padding: 7px 10px;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

.law-ref-table td {
  padding: 7px 10px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
  vertical-align: top;
}

.law-ref-table tr:last-child td { border-bottom: none; }

.law-ref-table td:first-child { font-weight: 500; }

.law-ref-highlight {
  background: var(--red-light);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 0.82rem;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 14px;
}

/* ===== ALERTS & NOTICES ===== */
.alert {
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.84rem;
  margin-bottom: 16px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.alert-icon { flex-shrink: 0; }

.alert.alert-warning {
  background: var(--yellow-light);
  border: 1px solid #fcd34d;
  color: #92400e;
}

.alert.alert-info {
  background: var(--blue-light);
  border: 1px solid #93c5fd;
  color: #1e40af;
}

.alert.alert-success {
  background: var(--green-light);
  border: 1px solid #86efac;
  color: #14532d;
}

/* ===== RECORD DETAIL ===== */
.detail-section {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  margin-bottom: 14px;
}

.detail-section-header {
  padding: 10px 14px;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  border-radius: 10px 10px 0 0;
}

.detail-section-body { padding: 12px 14px; }

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.detail-item { font-size: 0.82rem; }
.detail-item-label { color: var(--gray-500); font-size: 0.72rem; margin-bottom: 1px; }
.detail-item-value { font-weight: 600; color: var(--gray-800); }

.checklist-summary-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: 0.82rem;
}

.check-icon { font-size: 14px; }

/* ===== DIVIDERS & HELPERS ===== */
.divider {
  height: 1px;
  background: var(--gray-200);
  margin: 20px 0;
}

.text-sm { font-size: 0.82rem; }
.text-xs { font-size: 0.72rem; }
.text-muted { color: var(--gray-400); }
.text-success { color: var(--green); }
.text-danger { color: var(--red); }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.font-bold { font-weight: 700; }

.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }

.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.justify-between { justify-content: space-between; }

/* ===== PRINT STYLES ===== */
@media print {
  .site-header,
  .nav-btn,
  .law-ref-btn,
  .wizard-footer,
  .btn,
  .header-nav,
  .modal-overlay { display: none !important; }

  body { background: white; }
  .main { padding: 0; }
  .wizard-container { border: none; }
  .wizard-header { background: var(--navy) !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .summary-section-header { background: var(--navy) !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .header-inner { padding: 12px 16px; flex-wrap: wrap; }
  .header-nav { gap: 4px; }
  .nav-btn { padding: 6px 10px; font-size: 0.75rem; }
  .main { padding: 16px; }
  .action-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .dashboard-hero { padding: 24px 20px; }
  .dashboard-hero h2 { font-size: 1.3rem; }
  .wizard-body { padding: 18px; }
  .wizard-footer { flex-wrap: wrap; gap: 10px; }
  .law-ref-btn { bottom: 16px; right: 16px; padding: 10px 16px; }
  .modal-overlay { padding: 0; }
  .modal { border-radius: 16px 16px 0 0; max-height: 90vh; }
}
