:root {
    --bg-color: #f4f4f4;
    --table-border: #444;
    --header-yellow: linear-gradient(to bottom, #ffeebb 0%, #ffcc00 100%);
    --cell-hover: #ffffcc;
    --my-entry: #dff0d8;
}

body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: var(--bg-color); margin: 0; padding: 20px; }

/* Navigation & Buttons */
.nav-controls { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.btn { background: #ddd; padding: 8px 15px; text-decoration: none; color: #333; border: 1px solid #aaa; border-radius: 4px; cursor: pointer;}
.btn:hover { background: #ccc; }

/* Tabelle */
.roster-table { width: 100%; border-collapse: collapse; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.roster-table th, .roster-table td { border: 1px solid var(--table-border); padding: 6px 4px; text-align: center; font-size: 14px; }

/* Kopfzeile */
.header-yellow th { background: var(--header-yellow); font-weight: bold; padding: 10px; }
.cat-label { background: #eee; font-weight: bold; text-align: left !important; padding-left: 10px; width: 120px; }

/* Zellen Interaktion */
.task-cell { cursor: default; position: relative; }
.task-cell.editable { cursor: pointer; }
.task-cell.editable:hover { background: var(--cell-hover); }
.task-cell.my-entry { background: var(--my-entry); font-weight: bold; color: green; }
.task-cell.locked { background: #f9f9f9; color: #555; }
.task-cell.disabled { background: #f0f0f0; color: #aaa; }
.placeholder { color: transparent; } /* Das X unsichtbar machen wenn nicht gewünscht, oder hellgrau */

/* Login Style */
.login-container { max-width: 300px; margin: 100px auto; padding: 20px; background: #fff; border: 1px solid #ccc; text-align: center; }
.login-container input { width: 90%; padding: 10px; margin-bottom: 10px; }

/* DRUCKANSICHT */
@media print {
    @page { size: A4 landscape; margin: 10mm; }
    body { background: #fff; padding: 0; }
    .nav-controls, .month-selector, .admin-bar, .login-container { display: none !important; }
    .roster-table { width: 100%; box-shadow: none; }
    .roster-table th, .roster-table td { font-size: 11pt; border: 1px solid #000; }
    .header-yellow th { background: #ffcc00 !important; -webkit-print-color-adjust: exact; }
    .cat-label { background: #eee !important; -webkit-print-color-adjust: exact; }
}