/* Mitarbeiterportal Veelker Reisedienst – Copyright (c) 2026 Maurice Meinl. Alle Rechte vorbehalten. */
/* Farben wie reisedienst-veelker.de: dunkle Leiste, helle Karten, gelbe Buttons */
:root {
  --vk-dark: #212529;      /* Navigationsleiste (Bootstrap bg-dark) */
  --vk-yellow: #FFC107;    /* Hauptbuttons */
  --vk-yellow-hover: #E0A800;
  --vk-blue: #0A7CC1;      /* Logo-Blau, Links */
  --vk-green: #8DC63F;     /* Logo-Grün, Akzente */
  --vk-card: #F8F9FA;      /* Kartenfläche */
  --vk-card-head: #F0F1F2; /* Kartenkopf */
}
body { background: #FFFFFF; color: #212529; }
a { color: var(--vk-blue); }
.portal-nav { background: var(--vk-dark); border-bottom: 1px solid #343A40; }
.portal-logo { height: 40px; width: auto; }
.hero { background: var(--vk-card); color: #212529; border: 1px solid #DEE2E6;
  border-radius: .5rem; }
.btn-accent { background: var(--vk-yellow); color: #212529; border: 0; font-weight: 500; }
.btn-accent:hover, .btn-accent:focus { background: var(--vk-yellow-hover); color: #212529; }
.auth-box { max-width: 440px; margin: 2rem auto; background: var(--vk-card);
  padding: 2rem; border: 1px solid #DEE2E6; border-radius: .5rem; }
.area-card { background: var(--vk-card); border: 1px solid #DEE2E6; border-radius: .5rem;
  color: #212529; transition: transform .1s; overflow: hidden; }
.area-card .card-body { border-top: 3px solid var(--vk-green); }
.area-img { height: 160px; object-fit: cover; border-radius: .5rem .5rem 0 0; }
.area-card:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,0,0,.10); }
.card-header { background: var(--vk-card-head); }
.portal-footer { background: var(--vk-card); border-top: 1px solid #DEE2E6; color: #495057; }
.legal { max-width: 760px; }
.legal h2 { font-size: 1.15rem; margin-top: 1.5rem; }
.lang-switch a { color: rgba(255,255,255,.6); text-decoration: none; padding: .25rem .4rem; border-radius: .25rem; }
.lang-switch a:hover { color: #fff; }
.lang-switch a.active { color: #212529; background: var(--vk-yellow); font-weight: 600; }
.chl-badge { background: var(--vk-dark); color: #fff; border-radius: .35rem; padding: .15rem .55rem; font-size: .95rem; }
.chl-version { border-left: 3px solid var(--vk-green); padding-left: 1rem; }
.chl-item ul { padding-left: 1.2rem; }
.error-code { font-size: 4.5rem; font-weight: 700; color: var(--vk-blue); line-height: 1; margin-bottom: .5rem; }

/* Nachrichten-Symbol in der Kopfleiste */
.portal-msg { display: inline-flex; align-items: center; padding: .15rem .25rem; }
.portal-msg-badge { position: absolute; top: -6px; right: -10px; font-size: .65rem; }

/* Betriebsanlagen */
.facility-bar .facility { text-align: center; padding: .75rem .5rem; border-right: 1px solid #e9ecef; min-width: 0; }
.facility-bar .facility:last-child { border-right: 0; }
.facility-icon { font-size: 1.8rem; line-height: 1.2; }
.facility-note { min-height: 1.2em; margin-top: .25rem; overflow-wrap: anywhere; }
.facility-temp, .facility-perm { background: #fff5f5; }
.facility-frost { background: #f0f9ff; }
.facility-ok { background: #f6fbf3; }
@media (max-width: 575.98px) { .facility-bar .facility { font-size: .85rem; padding: .6rem .25rem; } .facility-bar .badge { white-space: normal; } }
/* Umleitungen (Startseite / Fahrer) */
.detour-box { border-left: 4px solid #ffc107; }
.detour-box summary { cursor: pointer; list-style: none; }
.detour-box summary::-webkit-details-marker { display: none; }
.detour-box summary::after { content: '▸'; margin-left: auto; color: #6c757d; }
.detour-box details[open] summary::after { content: '▾'; }
.detour-box .detour-planned { background: #f4f9ff; }
.detour-map { width: 100%; border-radius: .375rem .375rem 0 0; }
.detour-legend { display: inline-block; width: 22px; height: 0; vertical-align: middle; border-top: 5px solid #8a8f98; }
.detour-legend-detour { border-top: 5px dashed #dc3545; }
.detour-legend-skip { width: 12px; height: 12px; border: 0; border-radius: 50%; background: #dc3545; }
.leaflet-tooltip.detour-x { background: transparent; border: 0; box-shadow: none; color: #fff; font-weight: 700; padding: 0; font-size: 10px; }
.leaflet-tooltip.detour-x::before { display: none; }
.detour-wp-icon { background: #dc3545; color: #fff; border: 2px solid #fff; border-radius: 50%; width: 26px !important; height: 26px !important;
  line-height: 22px; text-align: center; font-weight: 700; font-size: 13px; box-shadow: 0 1px 4px rgba(0,0,0,.4); }

/* Druck (z. B. Bestellschein Arbeitskleidung) – Copyright (c) 2026 Maurice Meinl */
@media print {
  .portal-nav, .portal-footer, .fa-tabs, .vw-tabs, .alert, .d-print-none { display: none !important; }
  main.container { max-width: none; padding: 0 !important; }
  .cl-sheet { font-size: 11pt; }
  .badge { border: 1px solid #999; color: #000 !important; background: none !important; }
}
.cl-sign { page-break-inside: avoid; }
