/* ── Tabelle ─────────────────────────────────────────────────────────────────── */
.schicht-table {
    min-width: 900px;
    font-size: 0.82rem;
}

.schicht-table thead th {
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

.hour-col {
    width: 80px;
    text-align: center;
    white-space: nowrap;
    background: #f8f9fa;
}

/* ── Slot-Zellen ─────────────────────────────────────────────────────────────── */
.slot-cell {
    position: relative;
    min-width: 110px;
    padding: 6px 6px 6px 6px !important;
    vertical-align: top;
}

.slot-cell.current-slot {
    background-color: #fff3cd;
}

/* Zähler oben rechts */
.slot-count {
    position: absolute;
    top: 3px;
    right: 4px;
    font-size: 0.7rem;
    line-height: 1;
    padding: 2px 5px;
}

/* ── Namens-Chips ─────────────────────────────────────────────────────────────── */
.shift-chip {
    display: inline-block;
    background: #e9ecef;
    border-radius: 12px;
    padding: 2px 8px;
    margin: 2px 2px 2px 0;
    font-size: 0.78rem;
    cursor: default;
    transition: background 0.15s;
}

.shift-chip.own {
    background: #cfe2ff;
    cursor: pointer;
}

.shift-chip.own:hover {
    background: #f8d7da;
    text-decoration: line-through;
}

.shift-chip.admin-removable {
    cursor: pointer;
}

.shift-chip.admin-removable:hover {
    background: #f8d7da;
}

/* ── "+" Button ──────────────────────────────────────────────────────────────── */
.btn-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid #0d6efd;
    background: transparent;
    color: #0d6efd;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    margin: 2px;
    transition: background 0.15s, color 0.15s;
}

.btn-add:hover {
    background: #0d6efd;
    color: #fff;
}

/* ── Login-Seite ─────────────────────────────────────────────────────────────── */
body.login-page {
    background: #f0f4f8;
}

/* ── Admin-Seite ─────────────────────────────────────────────────────────────── */
.admin-table td, .admin-table th {
    vertical-align: middle;
}
