/* Einsatz-Viewer: Bessere Lesbarkeit für leere Felder */
.einsatz-empty {
    color: #222;
    font-style: italic;
}
/* Custom styles for the stub page */
@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    }
    .bg-light, .bg-white {
        background-color: #23272f !important;
    }
    .text-muted, .text-secondary, .text-gray-400 {
        color: #e5e7eb !important;
    }
    .border-top, .border-bottom, .border-blue-100 {
        border-color: #334155 !important;
    }
}
.animate-fadein {
    animation: fadein 1.2s cubic-bezier(0.4,0,0.2,1);
}
@keyframes fadein {
    from { opacity: 0; transform: translateY(30px);}
    to { opacity: 1; transform: translateY(0);}
}
button[disabled], .opacity-60 {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

/* Bootstrap-based hero card and icon styling */
.hero-card {
    background: rgba(255,255,255,0.97);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.10);
    border-radius: 2rem;
    border: 1px solid #e3e3e3;
    margin-bottom: 2rem;
}
.hero-icon {
    background: linear-gradient(135deg, #2196f3 0%, #43e97b 100%);
    color: #fff;
    border-radius: 50%;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 24px 0 rgba(33,150,243,0.15);
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    background: linear-gradient(135deg, #e3f2fd 0%, #f8fafc 60%, #e8f5e9 100%);
    min-height: 100vh;
}
.bg-light, .bg-white, .navbar, .footer, footer {
    background: rgba(255,255,255,0.98) !important;
    color: #222 !important;
}
.navbar, .footer, footer {
    border-bottom: 1px solid #e3e3e3 !important;
    box-shadow: 0 2px 8px 0 rgba(31,38,135,0.06);
}
footer {
    border-top: 1px solid #e3e3e3 !important;
}

/* Dashboard tile grid and tile styles */
.tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.tile {
    background: #fff;
    border-radius: 1.2rem;
    box-shadow: 0 2px 8px 0 rgba(31,38,135,0.08);
    border: 1px solid #e3e3e3;
    padding: 2.2rem 1.2rem 1.2rem 1.2rem;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 180px;
}
.tile:hover {
    box-shadow: 0 6px 18px 0 rgba(31,38,135,0.18);
    transform: translateY(-2px) scale(1.03);
    z-index: 2;
}
.tile .tile-icon {
    font-size: 2.6rem;
    margin-bottom: 1rem;
    color: #1976d2;
}
.tile .tile-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #222;
}
.tile[disabled] {
    opacity: 0.5;
    pointer-events: none;
}
.tile .tile-tooltip {
    display: none;
    position: absolute;
    left: 50%;
    bottom: 110%;
    transform: translateX(-50%);
    background: #222;
    color: #fff;
    padding: 0.7em 1.2em;
    border-radius: 0.7em;
    font-size: 0.95em;
    white-space: pre-line;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.tile:hover .tile-tooltip {
    display: block;
}
@media (max-width: 600px) {
    .tile-grid { grid-template-columns: 1fr; }
}

/* Dashboard tile category colors */
.tile-Einsatz { background: #e53935 !important; color: #fff !important; }
.tile-Buchhaltung { background: #3949ab !important; color: #fff !important; }
.tile-Faktura { background: #00897b !important; color: #fff !important; }
.tile-Verwaltung { background: #6d4c41 !important; color: #fff !important; }
.tile-Mitarbeiter { background: #fbc02d !important; color: #222 !important; }
.tile-Mitarbeiter\ \&\ Zeit { background: #fbc02d !important; color: #222 !important; }
.tile-Fuhrpark { background: #43a047 !important; color: #fff !important; }
.tile-System { background: #546e7a !important; color: #fff !important; }

.tile .tile-icon { color: inherit !important; }

.navbar {
    background-color: #fff !important;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-weight: 600;
}

.nav-link {
    color: #495057 !important;
}

.nav-link:hover {
    color: #007bff !important;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

.btn-outline-primary {
    color: #007bff;
    border-color: #007bff;
}

.btn-outline-primary:hover {
    background-color: #007bff;
    color: #fff;
}

.form-control {
    border-radius: 0.25rem;
}

.form-label {
    font-weight: 500;
}

.card {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
    border-radius: 0.5rem;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.table {
    background-color: #fff;
}

.table th,
.table td {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.table thead th {
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.alert {
    border-radius: 0.25rem;
}

.hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin-bottom: 0.75rem;
    color: var(--bs-primary);
    background-color: var(--bs-primary-bg-subtle);
    border-radius: 1.5rem;
}
