/* Minimal SCHOR front CSS with theme variables */
:root{
    --schor-primary: #002f6c; /* deep blue */
    --schor-accent: #ff7f00; /* orange accent */
    --bg: #f8fafc;
    --surface: #ffffff;
    --muted: #6b7280;
    --text: #0b1220;
    --card-radius: 1.25rem;
}

body { background: var(--bg); color: var(--text); }
.text-primary { color: var(--schor-primary) !important; }
.btn-primary { background-color: var(--schor-primary); border-color: var(--schor-primary); }
.navbar-brand { color: var(--schor-primary) !important; }

/* Morphism cards */
.morph-card { background: var(--surface); border-radius: var(--card-radius); box-shadow: 8px 8px 24px rgba(11,18,32,0.06), -8px -8px 24px rgba(255,255,255,0.8); }

/* Dark theme helper (toggle by adding .dark-theme to body) */
body.dark-theme{
    --bg: #0b1220;
    --surface: #0f1724;
    --text: #e6eef8;
    --muted: #9aa7bd;
}

/* Small utility tweaks */
.card, .border { border-radius: var(--card-radius) !important; }
.badge { font-size: 0.85rem; }
.navbar-brand { letter-spacing: 0.08em; }

/* Accessibility: focus outlines */
:focus { outline: 3px solid rgba(0,47,108,0.18); outline-offset: 2px; }

/* Responsive tweaks */
@media (prefers-color-scheme: dark) {
    body:not(.dark-theme) { background: #081226; }
}

/* Theme helpers for JS toggle */
.theme-toggle { cursor: pointer; }

/* Footer styles */
.site-footer { background: linear-gradient(180deg, rgba(0,47,108,0.95), rgba(0,30,72,0.95)); }
.site-footer .text-muted { color: rgba(255,255,255,0.8) !important; }
.site-footer a.text-reset { color: rgba(255,255,255,0.92); text-decoration: none; }
.site-footer a.text-reset:hover, .site-footer a.text-reset:focus { text-decoration: underline; }
.footer-links a { display: inline-block; padding: 2px 0; }
.footer-kpi dt { display: none; }
.back-to-top { width: 36px; height: 36px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; }

@media (max-width: 767px) {
    .footer-kpi dl { flex-direction: column; gap: .5rem; }
    .site-footer .navbar-brand { font-size: 1.1rem; }
}

