/* Allgemeines Layout */
body {
    min-height: 100vh;
}

.no-print {
    /* wird in print.css ausgeblendet */
}

/* Navbar-Dropdowns müssen über sticky Inhaltsbereichen liegen (z.B. der
   Schichtplan-Aktionsleiste, die einen eigenen z-index-Stacking-Context bildet) */
.navbar {
    position: relative;
    z-index: 1030;
}

.navbar .dropdown-menu {
    z-index: 1050;
}

/* Login */
.login-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dashboard */
.stat-card {
    border-radius: .75rem;
}

/* Schichtplan-Editor */
.plan-header-bar {
    position: sticky;
    top: 0;
    z-index: 1020;
    background-color: var(--bs-body-bg);
    padding-block: .5rem;
    border-bottom: 1px solid var(--bs-border-color);
}

.shift-card {
    border-radius: .75rem;
    margin-bottom: 1.25rem;
}

.shift-card .card-header {
    font-weight: 600;
}

.plan-row {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem 0;
    border-bottom: 1px dashed var(--bs-border-color);
    cursor: grab;
}

.plan-row.dragging {
    opacity: .4;
}

.plan-row .drag-handle {
    cursor: grab;
    color: var(--bs-secondary-color);
}

.plan-row .drop-indicator {
    height: 3px;
    background: var(--bs-primary);
    border-radius: 2px;
}

.task-select {
    font-weight: 600;
}

.task-badge {
    display: inline-block;
    padding: .15rem .55rem;
    border-radius: .35rem;
    color: #fff;
    font-weight: 600;
    font-size: .85rem;
}

.plan-notes-banner {
    color: #dc3545;
    font-weight: 700;
    font-size: 1.15rem;
    text-decoration: underline;
    text-align: center;
    margin: 1rem 0;
}

.plan-week-title {
    color: #dc3545;
    font-weight: 700;
    text-decoration: underline;
}

.absence-row .status-urlaub { color: #0d6efd; }
.absence-row .status-krank { color: #dc3545; }

.phone-list-item {
    display: flex;
    justify-content: space-between;
    padding: .2rem 0;
}

.task-footnote {
    font-size: .9rem;
    margin-bottom: .25rem;
}

.drop-zone-empty {
    border: 2px dashed var(--bs-border-color);
    border-radius: .5rem;
    padding: .75rem;
    text-align: center;
    color: var(--bs-secondary-color);
}

.autosave-indicator {
    font-size: .8rem;
    color: var(--bs-secondary-color);
}
