/* Mediconomics Backoffice — Custom CSS-Overrides
   Tailwind übernimmt das Meiste; hier nur Ergänzungen. */

:root {
    --mediblue: #1a3a6b;
    --mediblue-dark: #12294c;
    --mediorange: #e85d04;
}

html { -webkit-text-size-adjust: 100%; }

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Sanftere Scrollbars in der Sidebar */
aside nav::-webkit-scrollbar { width: 6px; }
aside nav::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 3px; }
aside nav::-webkit-scrollbar-track { background: transparent; }

/* Fokus-Ringe konsistent */
input:focus, select:focus, textarea:focus, button:focus-visible {
    outline: none;
}

/* Tabellen: sticky Header auf großen Bildschirmen */
@media (min-width: 1024px) {
    thead th { position: sticky; top: 0; }
}

/* Selects ohne Standard-Rahmen (Status-Badges im CRM/Mailing) */
select.border-0 {
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    font-weight: 500;
    padding-right: 1.25rem;
}

/* Druckfreundlich: Sidebar & Topbar ausblenden */
@media print {
    aside, header, footer, #sidebar-overlay { display: none !important; }
    main { padding: 0 !important; }
    .shadow-sm, .shadow-2xl { box-shadow: none !important; }
}

/* Kleine Verbesserung: Ladeanimation für Buttons (optional) */
.btn-loading { opacity: 0.6; pointer-events: none; }

/* Timeline-Punkte im CRM-Detail nicht abgeschnitten */
ol.border-l li { position: relative; }
