/* ═══════════════════════════════════════════
   CADET CONNECTION PORTAL — MAIN STYLESHEET
   Army Green Theme | NCC NER Region
   ═══════════════════════════════════════════ */

/* ─── CSS Variables ─── */
:root {
  --primary: #2d5a27;
  --secondary: #4a7c3f;
  --accent: #c8a951;
  --bg: #f5f5f0;
  --dark: #1a3a16;
  --white: #ffffff;
  --text: #1c1c1c;
  --text-light: #555555;
  --border: #ddd;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 5px 25px rgba(0, 0, 0, 0.15);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: all 0.3s ease;
  --font: 'Roboto', 'Segoe UI', sans-serif;
}

/* ─── Global Reset ─── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: var(--font);
  transition: var(--transition);
}

input, select, textarea {
  font-family: var(--font);
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  outline: none;
  transition: var(--transition);
  width: 100%;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.15);
}

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* ─── Container ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-fluid {
  width: 100%;
  padding: 0 1.5rem;
}

/* ─── Grid System ─── */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4, .grid-6 {
    grid-template-columns: 1fr;
  }
}

/* ─── Flexbox Utilities ─── */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.flex-col { flex-direction: column; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
  border: 2px solid transparent;
  /* Accessibility: minimum touch target */
  min-height: 44px;
  min-width: 44px;
  -webkit-tap-highlight-color: transparent;
  /* Focus visibility */
  outline: none;
}

.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

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

.btn-primary:hover {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

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

.btn-secondary:hover {
  background: #b8963e;
  border-color: #b8963e;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

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

.btn-white:hover {
  background: var(--bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  min-height: 36px;
}

/* Ensure btn-sm still hits 44px on mobile */
@media (max-width: 768px) {
  .btn-sm {
    min-height: 44px;
    padding: 0.6rem 1rem;
  }
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
}

/* ─── Cards ─── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.card-header {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.card-body {
  padding: 0;
}

.card-footer {
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid var(--border);
}

.card-green {
  border-left: 4px solid var(--primary);
}

.card-gold {
  border-left: 4px solid var(--accent);
}

/* ─── Stat Cards ─── */
.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.stat-card .stat-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.stat-card .stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
}

.stat-card .stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

/* ─── Badges ─── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-green {
  background: rgba(45, 90, 39, 0.1);
  color: var(--primary);
}

.badge-gold {
  background: rgba(200, 169, 81, 0.15);
  color: #9a7d2e;
}

.badge-red {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.badge-blue {
  background: rgba(10, 49, 97, 0.1);
  color: #0a3161;
}

.badge-live {
  background: #dc3545;
  color: var(--white);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ─── Tables ─── */
.table-container {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

thead {
  background: var(--primary);
  color: var(--white);
}

th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

tbody tr:hover {
  background: rgba(45, 90, 39, 0.03);
}

/* ─── Section Styles ─── */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.2rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 1rem auto 0;
  border-radius: 2px;
}

.section-green {
  background: var(--primary);
  color: var(--white);
}

.section-green h2, .section-green h3, .section-green p {
  color: var(--white);
}

.section-light {
  background: var(--white);
}

/* ─── Modal ─── */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1rem;
}

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

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlide 0.3s ease;
}

@keyframes modalSlide {
  from { transform: translateY(-30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  color: var(--text-light);
  background: none;
  cursor: pointer;
}

/* ─── Toast Notification ─── */
.toast {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  color: var(--white);
  font-weight: 500;
  z-index: 99999;
  display: none;
  animation: slideIn 0.3s ease;
  box-shadow: var(--shadow-lg);
}

.toast.show { display: flex; align-items: center; gap: 0.5rem; }
.toast-success { background: var(--primary); }
.toast-error { background: #dc3545; }
.toast-warning { background: #ffc107; color: var(--dark); }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ─── Utilities ─── */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-white { color: var(--white); }
.text-muted { color: var(--text-light); }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.25rem; }
.fw-bold { font-weight: 700; }
.fw-medium { font-weight: 500; }

.bg-primary { background-color: var(--primary); }
.bg-dark { background-color: var(--dark); }
.bg-white { background-color: var(--white); }
.bg-light { background-color: var(--bg); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }
.shadow { box-shadow: var(--shadow); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.hidden { display: none; }
.visible { display: block; }

/* ─── Loading Spinner ─── */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ─── Responsive Breakpoints ─── */
@media (max-width: 1200px) {
  .container { max-width: 960px; }
}

@media (max-width: 992px) {
  .container { max-width: 720px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  .section { padding: 3.5rem 0; }
}

@media (max-width: 768px) {
  .container { max-width: 540px; }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  .section { padding: 3rem 0; }
  .btn-lg { padding: 0.875rem 1.5rem; font-size: 1rem; }
}

@media (max-width: 576px) {
  html { font-size: 14px; }
  .container { padding: 0 1rem; }
  .section { padding: 2.5rem 0; }
}



/* ═══════════════════════════════════════════
   FULL MOBILE UI/UX POLISH
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {
  /* ─── General Mobile ─── */
  body { font-size: 14px; }
  .container { padding: 0 1rem; }
  .section { padding: 2.5rem 0; }
  .section-title h2 { font-size: 1.4rem; }
  .section-title p { font-size: 0.9rem; }

  /* ─── Cards Mobile ─── */
  .card { padding: 1.25rem; border-radius: 10px; }
  .stat-card { padding: 0.9rem 0.5rem; }
  .stat-card .stat-icon { font-size: 1.5rem; margin-bottom: 0.4rem; }
  .stat-card .stat-number { font-size: 1.2rem; }
  .stat-card .stat-label { font-size: 0.7rem; }

  /* ─── Buttons Mobile ─── */
  .btn { padding: 0.6rem 1rem; font-size: 0.85rem; }
  .btn-lg { padding: 0.75rem 1.25rem; font-size: 0.9rem; }

  /* ─── Tables Mobile ─── */
  .table-container { border-radius: 8px; }
  table { font-size: 0.8rem; }
  th, td { padding: 0.6rem 0.5rem; }

  /* ─── Modal Mobile ─── */
  .modal-overlay { padding: 0.75rem; }
  .modal { padding: 1.25rem; border-radius: 12px; max-height: 90vh; }

  /* ─── Footer Mobile ─── */
  .footer { padding: 2rem 0 0; }
  .footer-grid { grid-template-columns: 1fr !important; gap: 1.5rem; }
  .footer-bottom { padding: 1rem 0; }

  /* ─── Smooth touch scrolling ─── */
  * { -webkit-tap-highlight-color: transparent; }
  input, select, textarea { font-size: 16px !important; /* prevents zoom on iOS */ }

  /* ─── Hide long text on mobile ─── */
  .breadcrumb { display: none; }

  /* ─── Grid fixes ─── */
  .grid-2, .grid-3 { grid-template-columns: 1fr !important; gap: 1rem !important; }
  .grid-4 { grid-template-columns: 1fr 1fr !important; gap: 0.75rem !important; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr 1fr !important; gap: 0.5rem !important; }
  .stat-card { padding: 0.75rem 0.4rem; }
  .stat-card .stat-number { font-size: 1.1rem; }
  .hero-content h1 { font-size: 1.6rem !important; }
  .hero-subtitle { font-size: 0.9rem !important; }
  .hero-motto { font-size: 1rem !important; }
  .hero-buttons { flex-direction: column; gap: 0.75rem; }
  .hero-emblem { width: 70px; height: 70px; }
  .hero-emblem img { width: 55px !important; height: 55px !important; }
  .section-title h2 { font-size: 1.2rem; }
  .footer-social { justify-content: center; }
}



/* ═══════════════════════════════════════════
   ACCESSIBILITY & VISUAL CONSISTENCY PATCH
   ═══════════════════════════════════════════ */

/* ─── Focus states (keyboard navigation) ─── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ─── Minimum touch targets for all interactive elements ─── */
a, button, [role="button"], label[for], .card[onclick], .bn-card,
.feature-card, .quick-action-btn, .sidebar-menu a, .nav-link {
  -webkit-tap-highlight-color: transparent;
}

/* Interactive clickable cards */
.clickable-item {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* ─── Consistent heading hierarchy ─── */
.page-heading {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--dark);
  font-weight: 800;
  line-height: 1.2;
}

.section-heading {
  font-size: clamp(1.25rem, 3vw, 2rem);
  color: var(--dark);
  font-weight: 700;
}

/* ─── Consistent card design ─── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ─── Consistent icon usage ─── */
.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-circle-sm {
  width: 36px;
  height: 36px;
}

.icon-circle-lg {
  width: 64px;
  height: 64px;
}

.icon-circle-green {
  background: rgba(45, 90, 39, 0.1);
  color: var(--primary);
}

.icon-circle-gold {
  background: rgba(200, 169, 81, 0.15);
  color: #9a7d2e;
}

/* ─── Consistent spacing system ─── */
.space-y-1 > * + * { margin-top: 0.5rem; }
.space-y-2 > * + * { margin-top: 1rem; }
.space-y-3 > * + * { margin-top: 1.5rem; }
.space-y-4 > * + * { margin-top: 2rem; }

/* ─── Quick Action Cards (Dashboard) ─── */
.quick-card-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.quick-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow);
  min-height: 90px;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.quick-card:hover,
.quick-card:focus-visible {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  color: var(--primary);
}

.quick-card .qc-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: var(--transition);
}

.quick-card:hover .qc-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, var(--dark), var(--primary));
}

.quick-card .qc-icon i {
  font-size: 1.1rem;
  color: var(--white);
}

.quick-card .qc-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  transition: var(--transition);
}

.quick-card:hover .qc-label {
  color: var(--primary);
}

@media (max-width: 992px) {
  .quick-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .quick-card-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .quick-card {
    padding: 1rem 0.5rem;
    min-height: 80px;
  }

  .quick-card .qc-icon {
    width: 38px;
    height: 38px;
  }

  .quick-card .qc-icon i {
    font-size: 0.9rem;
  }

  .quick-card .qc-label {
    font-size: 0.7rem;
  }
}

/* ─── Ticker clickable items ─── */
.ticker-content a,
.ticker-content span.ticker-link {
  cursor: pointer;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
}

.ticker-content a:hover,
.ticker-content span.ticker-link:hover {
  color: #fff;
  background: rgba(200, 169, 81, 0.2);
}

/* ─── NCC Official Emblem in hero ─── */
.hero-emblem-official {
  width: 130px;
  height: 130px;
  margin: 0 auto 2rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--accent);
  box-shadow: 0 0 40px rgba(200, 169, 81, 0.35), 0 4px 20px rgba(0,0,0,0.3);
  padding: 0;
  overflow: hidden;
}

.hero-emblem-official img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

@media (max-width: 480px) {
  .hero-emblem-official {
    width: 100px;
    height: 100px;
  }
}

/* ─── Unity & Discipline accent strip ─── */
.unity-strip {
  background: var(--accent);
  color: var(--dark);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ─── Responsive tables → cards on mobile ─── */
@media (max-width: 640px) {
  .table-responsive-cards thead {
    display: none;
  }

  .table-responsive-cards tbody tr {
    display: block;
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    box-shadow: var(--shadow);
    padding: 1rem;
    border: 1px solid var(--border);
  }

  .table-responsive-cards tbody td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 0.85rem;
  }

  .table-responsive-cards tbody td:last-child {
    border-bottom: none;
    justify-content: flex-end;
    gap: 0.5rem;
    padding-top: 0.75rem;
  }

  .table-responsive-cards tbody td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--primary);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    flex-shrink: 0;
    margin-right: 0.5rem;
  }
}

/* ─── Color contrast improvements ─── */
.text-muted,
.text-light,
p {
  color: #4a4a4a; /* improved contrast from #555 */
}

.badge-green { color: #1a4a16; }   /* darkened for contrast */
.badge-gold  { color: #7a5f1a; }   /* darkened for contrast */

/* ─── Image lazy-load blur-up effect ─── */
img[loading="lazy"] {
  transition: filter 0.3s ease;
}

/* ─── Reduced motion respect ─── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ─── Print: hide nav/footer ─── */
@media print {
  .navbar, .live-ticker, .footer, .quick-actions,
  .quick-card-grid, .sidebar { display: none !important; }
  body { padding-top: 0 !important; }
}
