/* Windows-ähnliches Design für Aufgabenmanagement */
/* Freundliche, runde und gläserne Fenster */
/* Farbschema angepasst an Frank Schmidt GmbH Logo */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 80px 20px 20px 20px; /* Padding-top für fixen Header */
    /* Dezenter blauer Gradient */
    background: linear-gradient(135deg, #e8f4f8 0%, #d4e9f7 30%, #c8e3f5 60%, #f0f4f8 100%);
    color: #2c3e50;
    min-height: 100vh;
    position: relative;
}

/* Logo als deutlich sichtbarer Hintergrund */
body::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background-image: url('logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.25;
    z-index: 0;
    pointer-events: none;
}

/* Sicherstellen, dass Inhalte über dem Logo liegen */
body > * {
    position: relative;
    z-index: 1;
}

/* Login Container Styles */
.login-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 2px solid rgba(52, 152, 219, 0.3);
    box-shadow: 0 8px 32px 0 rgba(52, 152, 219, 0.25);
    padding: 40px;
    width: 400px;
    max-width: 90%;
    text-align: center;
    transition: all 0.3s ease;
}

.login-container:hover {
    box-shadow: 0 12px 40px 0 rgba(52, 152, 219, 0.4);
    border-color: rgba(52, 152, 219, 0.5);
}

.login-container h1 {
    margin-bottom: 30px;
    color: #2c3e50;
    font-size: 2em;
    text-shadow: 0 2px 4px rgba(52, 152, 219, 0.2);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #2c3e50;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(52, 152, 219, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: #2c3e50;
    font-size: 1em;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(52, 152, 219, 0.6);
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.3);
}

.login-btn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(52, 152, 219, 0.5);
    border-radius: 15px;
    padding: 12px 30px;
    color: #ffffff;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.login-btn:hover {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    border-color: rgba(52, 152, 219, 0.8);
}

.error {
    color: #e74c3c;
    margin-top: 15px;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(255,255,255,0.5);
    background: rgba(231, 76, 60, 0.1);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

/* Uhr und Datum im Header */
.clock-display {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    text-align: center;
    margin-right: 20px;
}

.clock-time {
    font-size: 1.5em;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    line-height: 1;
    margin-bottom: 2px;
}

.clock-date {
    font-size: 0.8em;
    color: #ffffff;
    font-weight: 500;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    color: #ffffff;
    padding: 10px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: 2px solid rgba(52, 152, 219, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.header h1 {
    margin: 0;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(52, 152, 219, 0.3);
    font-size: 2em;
}

.user-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.logout-btn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid rgba(52, 152, 219, 0.5);
}

.logout-btn:hover {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
    text-shadow: 0 2px 4px rgba(52, 152, 219, 0.2);
}

#pools-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.pool {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 2px solid rgba(52, 152, 219, 0.3);
    box-shadow: 0 8px 32px 0 rgba(52, 152, 219, 0.2);
    padding: 20px;
    min-width: 250px;
    max-width: 300px;
    min-height: 300px;
    transition: all 0.3s ease;
}

.pool:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(52, 152, 219, 0.35);
    border-color: rgba(52, 152, 219, 0.5);
}

.pool h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2em;
    color: #2c3e50;
    border-bottom: 3px solid rgba(52, 152, 219, 0.5);
    padding-bottom: 8px;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(52, 152, 219, 0.1);
}

.task-list {
    min-height: 200px;
}

.task {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid rgba(52, 152, 219, 0.2);
    border-left: 4px solid rgba(52, 152, 219, 0.6);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    cursor: move;
    transition: all 0.3s ease;
    color: #2c3e50;
    font-weight: 500;
}

.task:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    border-left-color: rgba(52, 152, 219, 1);
}

.task.dragging {
    opacity: 0.7;
    transform: rotate(2deg) scale(1.05);
}

/* Button Styles */
.global-add-task-btn, .admin-link, .manage-access-btn, .module-link {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(52, 152, 219, 0.5);
    border-radius: 15px;
    padding: 10px 20px;
    margin: 10px 5px;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.global-add-task-btn:hover, .admin-link:hover, .manage-access-btn:hover, .module-link:hover {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    border-color: rgba(52, 152, 219, 0.8);
}

.delete-all-tasks-btn {
    background: linear-gradient(135deg, #c0392b 0%, #8b0000 100%);
    border: 2px solid rgba(192, 57, 43, 0.5);
    color: #ffffff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 10px 20px;
    margin: 10px 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.delete-all-tasks-btn:hover {
    background: linear-gradient(135deg, #8b0000 0%, #c0392b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.4);
}

.print-pool-btn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border: 2px solid rgba(52, 152, 219, 0.5);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.print-pool-btn:hover {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    #pools-container {
        flex-direction: column;
        align-items: center;
    }

    .pool {
        width: 100%;
        max-width: 100%;
    }
}

/* Dark mode support für moderne Betriebssysteme */
@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 50%, #1a1a1a 100%);
        color: #ecf0f1;
    }

    body::before {
        opacity: 0.15;
    }

    .pool {
        background: rgba(44, 62, 80, 0.6);
        border-color: rgba(52, 152, 219, 0.4);
        color: #ecf0f1;
    }

    .pool h2 {
        color: #ecf0f1;
        border-bottom-color: rgba(52, 152, 219, 0.6);
    }

    .task {
        background: rgba(52, 73, 94, 0.6);
        border-color: rgba(52, 152, 219, 0.3);
        border-left-color: rgba(52, 152, 219, 0.7);
        color: #ecf0f1;
    }

    .task:hover {
        background: rgba(52, 73, 94, 0.8);
        border-left-color: rgba(52, 152, 219, 1);
    }

    .login-container {
        background: rgba(44, 62, 80, 0.6);
        border-color: rgba(52, 152, 219, 0.4);
    }

    .login-container h1 {
        color: #ecf0f1;
    }

    .form-group label {
        color: #ecf0f1;
    }

    .form-group input {
        background: rgba(52, 73, 94, 0.6);
        color: #ecf0f1;
        border-color: rgba(52, 152, 219, 0.3);
    }

    .form-group input:focus {
        background: rgba(52, 73, 94, 0.8);
    }
}

/* Footer Styles */
.footer {
    position: fixed;
    bottom: 10px;
    left: 10px;
    font-size: 0.8em;
    color: #2c3e50;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
    z-index: 1000;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.4);
    padding: 5px 10px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(52, 152, 219, 0.2);
}

/* Print Preview Modal Styles */
.print-preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.print-preview-content {
    background-color: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    min-width: 600px;
    max-width: 1050px;
    max-height: 720px;
    overflow-y: auto;
    font-size: 12px;
}

.print-preview-content h2 {
    margin-top: 0;
    margin-bottom: 20px;
}

.print-table-container {
    margin-bottom: 20px;
}

.print-table {
    width: 100%;
    border-collapse: collapse;
}

.print-table th, .print-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.print-table th {
    background-color: #3498db;
    color: #ffffff;
}

.print-table tr:nth-child(even) {
    background-color: rgba(52, 152, 219, 0.05);
}

/* Spaltenbreiten für Drucktabelle */
.print-table th:first-child, .print-table td:first-child {
    width: auto;
    white-space: nowrap;
    text-align: left;
}
.print-table th:nth-child(2), .print-table td:nth-child(2) {
    width: 200px;
}
.print-table th:nth-child(n+3), .print-table td:nth-child(n+3) {
    width: 100px;
    text-align: center;
}
.print-table td {
    word-wrap: break-word;
    white-space: normal;
}

.print-modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.print-modal-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
}

.print-modal-buttons button:first-child {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

.print-modal-buttons button:first-child:hover {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
}

.print-modal-buttons button:last-child {
    background-color: #95a5a6;
    color: white;
}

/* Print Styles */
@media print {
    @page {
        size: landscape;
        margin: 1cm;
    }
    body * {
        visibility: hidden;
    }
    .print-preview-content,
    .print-preview-content * {
        visibility: visible;
    }
    .print-preview-modal {
        position: static;
        background: none;
        display: block;
        width: auto;
        height: auto;
        padding: 0;
        margin: 0;
    }
    .print-preview-content {
        position: static;
        background: white;
        box-shadow: none;
        border: none;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
        page-break-inside: avoid;
        page-break-after: avoid;
    }
    .print-table {
        font-size: 12px;
        width: 100%;
        table-layout: auto;
        page-break-inside: avoid;
    }
    .print-table th, .print-table td {
        padding: 1px 2px;
    }
    .print-modal-buttons {
        display: none;
    }
    /* Footer für jede gedruckte Seite */
    .print-footer {
        position: fixed;
        bottom: 1cm;
        left: 1cm;
        font-size: 6px;
        color: #666;
        font-family: Arial, sans-serif;
    }
}

/* ============================================
   KALENDER STYLES - Fix am unteren Bildschirmrand
   ============================================ */

#calendar-container {
    position: fixed;
    bottom: 1cm;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 2px solid rgba(52, 152, 219, 0.3);
    border-radius: 15px 15px 0 0;
    box-shadow: 0 -4px 20px rgba(52, 152, 219, 0.2);
    z-index: 900;
    padding: 15px 20px;
    height: auto;
    overflow: hidden;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 0 10px;
}

.calendar-nav-group {
    display: flex;
    gap: 5px;
    align-items: center;
}

.calendar-title {
    font-size: 1.1em;
    font-weight: bold;
    color: #2c3e50;
    text-shadow: 0 1px 2px rgba(52, 152, 219, 0.1);
}

.calendar-nav-btn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border: 2px solid rgba(52, 152, 219, 0.5);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.calendar-nav-btn:hover {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.calendar-nav-btn-small {
    padding: 8px 12px;
    font-size: 0.9em;
}

.calendar-nav-btn-today {
    padding: 8px 24px;
}

.calendar-grid-container {
    overflow-x: hidden;
    cursor: grab;
}

.calendar-grid-container:active {
    cursor: grabbing;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    gap: 8px;
    padding: 25px 10px 0 10px; /* Platz für KW-Anzeige oben */
}

.calendar-day {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid rgba(52, 152, 219, 0.2);
    border-radius: 10px;
    padding: 8px;
    min-height: 120px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.calendar-week-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 8px;
    font-size: 0.75em;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
    white-space: nowrap;
    z-index: 10;
}

.calendar-day:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    border-color: rgba(52, 152, 219, 0.6);
}

.calendar-day.today {
    background: rgba(52, 152, 219, 0.15);
    border: 2px solid rgba(52, 152, 219, 0.6);
    border-left: 4px solid rgba(52, 152, 219, 1);
}

.calendar-day.weekend {
    background: rgba(149, 165, 166, 0.1);
}

.calendar-day.holiday {
    background: rgba(231, 76, 60, 0.1);
    border-color: rgba(231, 76, 60, 0.4);
}

.calendar-day.holiday.today {
    background: rgba(231, 76, 60, 0.2);
    border-color: rgba(231, 76, 60, 0.6);
}

.calendar-holiday-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 1.2em;
    z-index: 5;
}

.calendar-holiday-name {
    font-size: 0.65em;
    color: #e74c3c;
    font-weight: bold;
    text-align: center;
    margin-top: 2px;
}

.calendar-day-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(52, 152, 219, 0.2);
}

.calendar-day-name {
    font-size: 0.75em;
    color: #7f8c8d;
    text-transform: uppercase;
    font-weight: bold;
}

.calendar-day-number {
    font-size: 1.3em;
    font-weight: bold;
    color: #2c3e50;
}

.calendar-day-month {
    font-size: 0.7em;
    color: #95a5a6;
}

.calendar-day-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.calendar-day-empty {
    text-align: center;
    color: #95a5a6;
    font-size: 0.75em;
    padding: 10px 5px;
    font-style: italic;
}

.calendar-task-badge {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.75em;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.calendar-task-badge:hover {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
    transform: scale(1.05);
    box-shadow: 0 3px 12px rgba(52, 152, 219, 0.5);
}

.calendar-task-preview {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 5px;
}

.calendar-task-item {
    background: rgba(52, 152, 219, 0.1);
    border-left: 3px solid rgba(52, 152, 219, 0.6);
    padding: 4px 6px;
    border-radius: 4px;
    font-size: 0.7em;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.calendar-task-item:hover {
    background: rgba(52, 152, 219, 0.2);
    border-left-color: rgba(52, 152, 219, 1);
}

.calendar-task-more {
    font-size: 0.7em;
    color: #7f8c8d;
    text-align: center;
    font-style: italic;
    padding: 2px;
}

.calendar-other-users {
    font-size: 0.65em;
    color: #e74c3c;
    text-align: center;
    font-weight: bold;
    padding: 3px 2px;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 4px;
    margin-top: 3px;
}

.user-indicator {
    display: inline-block;
    padding: 2px 4px;
    margin: 0 2px;
    border-radius: 3px;
    color: #ffffff;
    font-weight: bold;
    font-size: 0.6em;
}

/* Kalender Modal Styles */

.calendar-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.calendar-modal {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 2px solid rgba(52, 152, 219, 0.3);
    box-shadow: 0 8px 32px 0 rgba(52, 152, 219, 0.25);
    padding: 30px;
    min-width: 400px;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.calendar-modal-large {
    min-width: 600px;
    max-width: 800px;
}

.calendar-modal h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 1.5em;
    text-shadow: 0 2px 4px rgba(52, 152, 219, 0.2);
}

.calendar-modal .form-group {
    margin-bottom: 20px;
}

.calendar-modal .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #2c3e50;
}

.calendar-modal .form-group input,
.calendar-modal .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid rgba(52, 152, 219, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.7);
    color: #2c3e50;
    font-size: 1em;
    box-sizing: border-box;
    transition: all 0.3s ease;
    font-family: inherit;
}

.calendar-modal .form-group input:focus,
.calendar-modal .form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(52, 152, 219, 0.6);
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.3);
}

.calendar-modal .form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.calendar-modal .form-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

.calendar-route-section {
    text-align: center;
    margin: 20px 0;
}

.btn-route {
    background-color: #e67e22;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-family: inherit;
    font-size: 1em;
    transition: background-color 0.2s;
}

.btn-route:hover {
    background-color: #d35400;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border: 2px solid rgba(52, 152, 219, 0.5);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.btn-secondary {
    background: rgba(149, 165, 166, 0.8);
    border: 2px solid rgba(127, 140, 141, 0.5);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(127, 140, 141, 0.9);
    transform: translateY(-2px);
}

.btn-icon {
    background: transparent;
    border: none;
    font-size: 1.2em;
    cursor: pointer;
    padding: 5px;
    transition: all 0.2s ease;
}

.btn-icon:hover {
    transform: scale(1.2);
}

/* Kalender Task List Styles */

.calendar-task-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.calendar-task-list-item {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid rgba(52, 152, 219, 0.2);
    border-left: 4px solid rgba(52, 152, 219, 0.6);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.calendar-task-list-item:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(52, 152, 219, 0.4);
    border-left-color: rgba(52, 152, 219, 1);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
}

.calendar-task-list-content {
    display: flex;
    gap: 15px;
    flex: 1;
}

.calendar-task-list-time {
    font-size: 1.2em;
    font-weight: bold;
    color: #3498db;
    min-width: 60px;
}

.calendar-task-list-details {
    flex: 1;
}

.calendar-task-list-title {
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 5px;
}

.calendar-task-list-desc {
    font-size: 0.9em;
    color: #7f8c8d;
    margin-bottom: 3px;
}

.calendar-task-list-address {
    font-size: 0.85em;
    color: #3498db;
}

.calendar-task-list-actions {
    display: flex;
    gap: 5px;
}

/* Responsive Design für Kalender */

@media (max-width: 1400px) {
    .calendar-grid {
        grid-template-columns: repeat(7, 1fr);
    }
    
    #calendar-container {
        max-height: 300px;
    }
}

@media (max-width: 768px) {
    .calendar-grid {
        grid-template-columns: repeat(7, 1fr);
        gap: 5px;
    }
    
    .calendar-day {
        min-height: 100px;
        padding: 5px;
    }
    
    .calendar-day-number {
        font-size: 1.1em;
    }
    
    .calendar-task-badge {
        font-size: 0.65em;
        padding: 3px 6px;
    }
    
    .calendar-task-item {
        font-size: 0.65em;
    }
    
    #calendar-container {
        padding: 10px;
        max-height: 280px;
    }
    
    .calendar-modal {
        min-width: 90%;
        padding: 20px;
    }
}

/* Body Padding für Kalender */
body {
    padding-bottom: 270px; /* Platz für den fixen Kalender */
}

@media (max-width: 1400px) {
    body {
        padding-bottom: 320px;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 300px;
    }
}

/* Benutzer-Legende */
.calendar-legend {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.user-legend {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.legend-title {
    font-weight: bold;
    color: #2c3e50;
    margin-right: 10px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85em;
    color: #2c3e50;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

/* Benutzer-Zuweisung im Modal */
.user-assignment-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
    padding: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 8px;
}

.user-checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.user-checkbox-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal;
}

.user-color-indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

/* Benachrichtigungen */
.calendar-notifications {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.calendar-notification {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 10px;
    border-left: 4px solid;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: slideIn 0.3s ease;
}

.notification-urgent {
    background: rgba(231, 76, 60, 0.15);
    border-left-color: #e74c3c;
    animation: pulse 2s infinite;
}

.notification-warning {
    background: rgba(243, 156, 18, 0.15);
    border-left-color: #f39c12;
    animation: pulse 3s infinite;
}

.notification-info {
    background: rgba(52, 152, 219, 0.15);
    border-left-color: #3498db;
}

.notification-time {
    font-weight: bold;
    font-size: 0.9em;
    min-width: 120px;
}

.notification-title {
    flex: 1;
    font-size: 0.9em;
}

.notification-close {
    background: transparent;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #7f8c8d;
    transition: all 0.2s ease;
}

.notification-close:hover {
    color: #2c3e50;
    transform: scale(1.2);
}

/* Termin-Dringlichkeit Klassen */
.task-past {
    opacity: 0.6;
    text-decoration: line-through;
}

.task-urgent-1h {
    animation: pulse 1.5s infinite;
    background: rgba(231, 76, 60, 0.2) !important;
    border-left-color: #e74c3c !important;
    font-weight: bold;
}

.task-urgent-6h {
    animation: pulse 2.5s infinite;
    background: rgba(243, 156, 18, 0.2) !important;
    border-left-color: #f39c12 !important;
}

.task-upcoming-24h {
    background: rgba(241, 196, 15, 0.15) !important;
    border-left-color: #f1c40f !important;
}

/* Pulsier-Animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 15px 5px rgba(231, 76, 60, 0);
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Benutzer-Info in Task-Liste */
.calendar-task-list-users {
    font-size: 0.8em;
    color: #7f8c8d;
    margin-top: 5px;
    font-style: italic;
}

/* Dark Mode Support für Kalender */
@media (prefers-color-scheme: dark) {
    #calendar-container {
        background: rgba(44, 62, 80, 0.6);
        border-top-color: rgba(52, 152, 219, 0.4);
    }
    
    .calendar-title {
        color: #ecf0f1;
    }
    
    .calendar-day {
        background: rgba(52, 73, 94, 0.6);
        border-color: rgba(52, 152, 219, 0.3);
        color: #ecf0f1;
    }
    
    .calendar-day:hover {
        background: rgba(52, 73, 94, 0.8);
    }
    
    .calendar-day.today {
        background: rgba(52, 152, 219, 0.25);
    }
    
    .calendar-day-number {
        color: #ecf0f1;
    }
    
    .calendar-task-item {
        background: rgba(52, 152, 219, 0.2);
        color: #ecf0f1;
    }
    
    .calendar-modal {
        background: rgba(44, 62, 80, 0.95);
    }
    
    .calendar-modal h3 {
        color: #ecf0f1;
    }
    
    .calendar-modal .form-group label {
        color: #ecf0f1;
    }
    
    .calendar-modal .form-group input,
    .calendar-modal .form-group textarea {
        background: rgba(52, 73, 94, 0.6);
        color: #ecf0f1;
        border-color: rgba(52, 152, 219, 0.3);
    }
    
    .calendar-task-list-item {
        background: rgba(52, 73, 94, 0.6);
        color: #ecf0f1;
    }
    
    .calendar-task-list-title {
        color: #ecf0f1;
    }
    
    .legend-title,
    .legend-item {
        color: #ecf0f1;
    }
    
    .user-assignment-list {
        background: rgba(52, 73, 94, 0.3);
    }
}

/* ============================================
   ADMIN STYLES - Konsistente Gestaltung
   ============================================ */

.admin-section {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 2px solid rgba(52, 152, 219, 0.3);
    box-shadow: 0 8px 32px 0 rgba(52, 152, 219, 0.2);
    padding: 20px;
    margin: 20px 0;
    transition: all 0.3s ease;
}

.admin-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px 0 rgba(52, 152, 219, 0.3);
    border-color: rgba(52, 152, 219, 0.5);
}

.admin-section h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #2c3e50;
    text-shadow: 0 2px 4px rgba(52, 152, 219, 0.2);
    border-bottom: 3px solid rgba(52, 152, 219, 0.5);
    padding-bottom: 8px;
    font-weight: bold;
}

.user-list {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 15px;
    border: 2px solid rgba(52, 152, 219, 0.2);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
    padding: 15px;
    margin: 15px 0;
    transition: all 0.3s ease;
}

.user-list:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(52, 152, 219, 0.4);
}

.user-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5px;
    border-bottom: 2px solid rgba(52, 152, 219, 0.1);
    transition: all 0.3s ease;
}

.user-item:hover {
    background: rgba(52, 152, 219, 0.05);
    border-radius: 8px;
}

.user-item:last-child {
    border-bottom: none;
}

.user-info {
    flex-grow: 1;
    color: #2c3e50;
}

.user-info strong {
    color: #2980b9;
    font-weight: bold;
}

.user-info small {
    display: block;
    color: #7f8c8d;
    margin-top: 2px;
}

.user-actions {
    display: flex;
    gap: 5px;
    align-items: center;
}

.user-actions button {
    padding: 6px 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.user-actions button:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.pool-management {
    margin-top: 20px;
}

.pool-management h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.1em;
    text-shadow: 0 1px 2px rgba(52, 152, 219, 0.1);
}

.pool-access-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pool-access-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    border: 1px solid rgba(52, 152, 219, 0.2);
    transition: all 0.3s ease;
}

.pool-access-item:hover {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(52, 152, 219, 0.4);
}

.pool-access-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #3498db;
}

.pool-access-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal;
    color: #2c3e50;
}

.pool-access-item strong {
    color: #2980b9;
}

/* ============================================
   WOCHENPLANUNGSMODUL STYLES
   ============================================ */

.weekly-planning {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.planning-table-container {
    flex: 1;
    overflow-x: auto;
}

.planning-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 15px;
    border: 2px solid rgba(52, 152, 219, 0.3);
    box-shadow: 0 8px 32px 0 rgba(52, 152, 219, 0.2);
    overflow: hidden;
}

.planning-table th {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #ffffff;
    padding: 15px 10px;
    text-align: center;
    font-weight: bold;
    border: 1px solid rgba(52, 152, 219, 0.3);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.planning-table th.holiday {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

/* Week Navigation */
.week-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 15px;
    border: 2px solid rgba(52, 152, 219, 0.3);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
}

.week-navigation span {
    font-weight: bold;
    color: #2c3e50;
    text-shadow: 0 1px 2px rgba(52, 152, 219, 0.1);
}

.nav-btn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    border: 2px solid rgba(52, 152, 219, 0.5);
}

.nav-btn:hover {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.planning-table th:first-child {
    width: 20%;
}

.planning-table th:nth-child(n+2) {
    width: 16%;
}

.planning-table td {
    border: 1px solid rgba(52, 152, 219, 0.2);
    padding: 10px;
    vertical-align: top;
}

.task-cell {
    background: rgba(52, 152, 219, 0.05);
    font-weight: bold;
    width: fit-content;
}

.task-info {
    color: #2c3e50;
}

.assignment-cell {
    background: rgba(255, 255, 255, 0.4);
    min-height: 80px;
    position: relative;
}

.assignment-cell:hover {
    background: rgba(52, 152, 219, 0.1);
    cursor: pointer;
}

.assigned-users {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
}

.assigned-user {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #ffffff;
    padding: 5px 8px;
    border-radius: 8px;
    font-size: 0.85em;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
    width: fit-content;
}

.remove-user {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.2em;
    cursor: pointer;
    padding: 0;
    margin-left: 5px;
    transition: all 0.2s ease;
}

.remove-user:hover {
    transform: scale(1.2);
    color: #e74c3c;
}

.colleagues-pool {
    width: 200px;
    height: 80vh;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 15px;
    border: 2px solid rgba(52, 152, 219, 0.3);
    box-shadow: 0 8px 32px 0 rgba(52, 152, 219, 0.2);
    padding: 20px;
    transition: all 0.3s ease;
}

.colleagues-pool:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px 0 rgba(52, 152, 219, 0.3);
    border-color: rgba(52, 152, 219, 0.5);
}

.colleagues-pool h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #2c3e50;
    text-shadow: 0 2px 4px rgba(52, 152, 219, 0.2);
    border-bottom: 3px solid rgba(52, 152, 219, 0.5);
    padding-bottom: 8px;
    font-weight: bold;
}

.colleagues-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.colleague {
    background: rgba(52, 152, 219, 0.1);
    border: 2px solid rgba(52, 152, 219, 0.2);
    border-radius: 10px;
    padding: 10px 15px;
    cursor: move;
    color: #2c3e50;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.colleague-name {
    font-weight: bold;
}

.colleague-availability {
    display: flex;
    gap: 2px;
}

.availability-indicator {
    font-size: 0.7em;
    padding: 2px 4px;
    border-radius: 4px;
    text-align: center;
    min-width: 20px;
}

.available {
    background-color: #27ae60;
    color: white;
}

.unavailable {
    background-color: #e74c3c;
    color: white;
}

.unavailable-yellow {
    background-color: #f1c40f;
    color: black;
}

.unavailable-pink {
    background-color: #ff69b4;
    color: white;
}

.unavailable-red {
    background-color: #e74c3c;
    color: white;
}

.unavailable-green {
    background-color: #27ae60;
    color: white;
}

.unavailable-blue {
    background-color: #3498db;
    color: white;
}

.unavailable-green {
    background-color: #27ae60;
    color: white;
}

.unavailable-red {
    background-color: #e74c3c;
    color: white;
}

.colleague-unavailability {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.unavailability-period {
    font-size: 0.8em;
    color: #7f8c8d;
    background: rgba(255, 255, 255, 0.5);
    padding: 2px 4px;
    border-radius: 4px;
    text-align: center;
}

.pool-above .colleague {
    padding: 5px 10px;
    font-size: 0.9em;
}

.pool-above .colleague-name {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pool-above .colleague-name button {
    background: transparent;
    border: none;
    color: #e74c3c;
    font-size: 1.2em;
    cursor: pointer;
    padding: 0;
    margin-left: 5px;
}

.pool-above .colleague-name button:hover {
    color: #c0392b;
}

.colleague:hover {
    background: rgba(52, 152, 219, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    border-color: rgba(52, 152, 219, 0.5);
}

.colleague.dragging {
    opacity: 0.7;
    transform: rotate(2deg) scale(1.05);
}

/* Responsive Design für Wochenplanung */
@media (max-width: 1200px) {
    .weekly-planning {
        flex-direction: column;
    }

    .colleagues-pool {
        width: 100%;
        order: -1;
    }

    .planning-table-container {
        overflow-x: auto;
    }

    .planning-table {
        min-width: 600px;
    }
}

@media (max-width: 768px) {
    .planning-table th,
    .planning-table td {
        padding: 8px 5px;
        font-size: 0.9em;
    }

    .task-cell {
        min-width: 150px;
    }

    .assignment-cell {
        min-height: 60px;
    }

    .assigned-user {
        font-size: 0.8em;
        padding: 4px 6px;
    }

    .colleague {
        padding: 8px 12px;
        font-size: 0.9em;
    }
}

/* ============================================
   POOLS ABOVE TABLE STYLES
   ============================================ */

.pools-above-table {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.pool-above {
    width: 200px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 15px;
    border: 2px solid rgba(52, 152, 219, 0.3);
    box-shadow: 0 8px 32px 0 rgba(52, 152, 219, 0.2);
    padding: 15px;
    transition: all 0.3s ease;
}

.pool-above:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px 0 rgba(52, 152, 219, 0.3);
    border-color: rgba(52, 152, 219, 0.5);
}

.pool-above h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #2c3e50;
    text-shadow: 0 2px 4px rgba(52, 152, 219, 0.2);
    border-bottom: 3px solid rgba(52, 152, 219, 0.5);
    padding-bottom: 5px;
    font-weight: bold;
    font-size: 1em;
    text-align: center;
}

.pool-content {
    min-height: 50px;
}

.planning-table-container {
    width: 100%;
    overflow-x: auto;
}

.pools-below-table {
    display: block;
    text-align: center;
    margin-bottom: 20px;
    margin-left: -20px;
    margin-right: -20px;
}

.pool-above {
    display: inline-block;
    margin: 10px;
}

/* Responsive Design für Pools below table */
@media (max-width: 768px) {
    .pools-below-table {
        justify-content: center;
        flex-wrap: wrap;
    }

    .pool-above {
        width: 200px;
    }
}

/* Dark Mode Support für Pools below table */
@media (prefers-color-scheme: dark) {
    .pool-above {
        background: rgba(52, 73, 94, 0.6);
        border-color: rgba(52, 152, 219, 0.4);
    }

    .pool-above h3 {
        color: #ecf0f1;
    }
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 2px solid rgba(52, 152, 219, 0.3);
    box-shadow: 0 8px 32px 0 rgba(52, 152, 219, 0.25);
    padding: 30px;
    min-width: 400px;
    max-width: 600px;
}

.modal-content h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #2c3e50;
    text-shadow: 0 2px 4px rgba(52, 152, 219, 0.2);
}

.form-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

/* Dark Mode Support für Wochenplanung */
@media (prefers-color-scheme: dark) {
    .planning-table {
        background: rgba(52, 73, 94, 0.6);
        border-color: rgba(52, 152, 219, 0.4);
    }

    .planning-table th {
        background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
    }

    .task-info {
        color: #ecf0f1;
    }

    .assignment-cell {
        background: rgba(52, 73, 94, 0.4);
    }

    .assignment-cell:hover {
        background: rgba(52, 152, 219, 0.2);
    }

    .colleagues-pool {
        background: rgba(52, 73, 94, 0.6);
        border-color: rgba(52, 152, 219, 0.4);
    }

    .colleagues-pool h3 {
        color: #ecf0f1;
    }

    .colleague {
        background: rgba(52, 152, 219, 0.2);
        border-color: rgba(52, 152, 219, 0.3);
        color: #ecf0f1;
    }

    .colleague:hover {
        background: rgba(52, 152, 219, 0.3);
    }
}/ *   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
       W E E K L Y   P L A N   O N L Y   S T Y L E S 
       = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =   * / 
 
 . w e e k l y - p l a n - o n l y   . c o l l e a g u e s - p o o l   { 
         d i s p l a y :   n o n e ; 
 } 
 
 . w e e k l y - p l a n - o n l y   . p o o l s - b e l o w - t a b l e   { 
         d i s p l a y :   n o n e ; 
 } 
 
 . w e e k l y - p l a n - o n l y   . p l a n n i n g - t a b l e - c o n t a i n e r   { 
         w i d t h :   1 0 0 % ; 
 }  
 / *   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
       W E E K L Y   P L A N   O N L Y   S T Y L E S 
       = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =   * / 
 
 . w e e k l y - p l a n - o n l y   . c o l l e a g u e s - p o o l   { 
         d i s p l a y :   n o n e ; 
 } 
 
 . w e e k l y - p l a n - o n l y   . p o o l s - b e l o w - t a b l e   { 
         d i s p l a y :   n o n e ; 
 } 
 
 . w e e k l y - p l a n - o n l y   . p l a n n i n g - t a b l e - c o n t a i n e r   { 
         w i d t h :   1 0 0 % ; 
 } 
 
 . w e e k l y - p l a n - o n l y   . h e a d e r   h 1   { 
         t e x t - a l i g n :   c e n t e r ; 
 }  
 