/* Basis-Styles für Stundenbuch */

:root {
    --background: #121212;
    --foreground: #1e1e1e;
    --accent: #3498db;
    --text: #f1f1f1;
    --muted-text: #aaaaaa;
}

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

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--foreground);
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.7);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.burger {
    font-size: 2rem;
    cursor: pointer;
}

.nav-menu {
    background-color: var(--foreground);
    padding: 1rem;
}

.nav-menu.hidden {
    display: none;
}

.nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    margin: 1rem 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--accent);
}

.main-content {
    padding: 2rem;
}

.footer {
    text-align: center;
    padding: 1rem;
    background-color: var(--foreground);
    font-size: 0.9rem;
    color: var(--muted-text);
    margin-top: 2rem;
}
.profile-dashboard {
    background: var(--foreground);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    padding: 2rem;
    max-width: 500px;
    margin: 3rem auto;
}

.profile-info-box {
    margin-bottom: 2rem;
    background: rgba(0,0,0,0.08);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: var(--text);
    font-size: 1.05rem;
}

.profile-actions .button {
    display: inline-block;
    margin-right: 0.6rem;
    margin-bottom: 0.6rem;
}
.wochenbericht-tag {
    background: #22243a;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    padding: 1.2rem 1rem;
}

.wochenbericht-tag h3 {
    margin-top: 0;
    color: #3b82f6;
    letter-spacing: 1px;
    font-size: 1.15rem;
}

.tag-details {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.eintraege-liste .eintrag {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 1.5rem;
    background: #1d2335;
    border-radius: 7px;
    margin-bottom: 1rem;
    padding: 1rem 1rem;
    box-shadow: 0 1px 5px rgba(0,0,0,0.07);
    transition: box-shadow 0.18s;
}
.eintraege-liste .eintrag:nth-child(even) {
    background: #23263a;
}

.eintraege-liste label {
    display: flex;
    flex-direction: column;
    font-size: 0.97rem;
    color: #e0e9ff;
    min-width: 130px;
}

.eintraege-liste input[type="text"],
.eintraege-liste input[type="number"] {
    margin-top: 0.15rem;
    background: #222b3a;
    color: #f0f0f0;
    border: 1px solid #444a6b;
    border-radius: 5px;
    padding: 0.35rem 0.7rem;
    min-width: 120px;
    font-size: 1rem;
}
.wochenbericht-tag button[type="button"] {
    margin-top: 0.7rem;
    background: linear-gradient(90deg, #2fa67a 30%, #2db583 100%);
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 0.3rem 0.8rem; /* kleiner */
    cursor: pointer;
    font-size: 0.96rem;    /* kleiner */
    font-weight: bold;
    box-shadow: 0 1px 3px #0004;
    transition: background 0.2s;
    display: inline-block;
}
.wochenbericht-tag button[type="button"]:hover {
    background: #259e68;
    color: #fff;
}
.wochenbericht-form .button[type="submit"] {
    margin: 2rem auto 0 auto;
    display: block;
    width: 100%;
    max-width: 320px;     /* kleiner */
    font-size: 1.01rem;   /* kleiner */
    padding: 0.7rem;
    border-radius: 10px;
    background: linear-gradient(90deg, #2fa67a 0%, #2db583 100%); /* grün */
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: bold;
    letter-spacing: 1px;
    transition: background 0.18s;
}
.wochenbericht-form {
    max-width: 750px;
    margin: 0 auto;
}

.wochenbericht-headline {
    text-align: center;
    font-size: 2.1rem;
    font-weight: bold;
    margin: 2rem 0 1.3rem 0;
    letter-spacing: 2px;
    color: #66c4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    width: 100%;
}
.wochenbericht-headline .icon {
    font-size: 2.5rem;
    vertical-align: middle;
}

.wochenbericht-untertitel {
    text-align: center;
    margin: 0 0 1.5rem 0;
    font-size: 1.33rem;
    font-weight: 500;
    color: #5ed6ab;
}

.wochenbericht-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    background: #232c40;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.7rem;
    justify-content: center;
}

.wochenbericht-tag {
    background: #23233c;
    border-radius: 10px;
    margin-bottom: 2.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.13);
    padding: 1.3rem 1rem 1.2rem 1.2rem;
    border-left: 5px solid #3b82f6;
    position: relative;
}

.wochenbericht-tag h3 {
    margin: 0 0 1.2rem 0;
    font-size: 1.25rem;
    font-weight: bold;
    color: #93cafc;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.wochenbericht-tag h3 .day-badge {
    background: #344266;
    border-radius: 50%;
    width: 34px; height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.05rem;
    font-weight: bold;
    margin-right: 0.7rem;
}
.tag-details {
    display: flex;
    flex-wrap: wrap; /* Bleibt, falls ganz wenig Platz, dann springt's wenigstens sinnvoll! */
    align-items: center;
    gap: 0.3rem; /* Weniger Abstand */
    margin-bottom: 1rem;
    font-size: 1rem;
}
.tag-details span {
    font-weight: bold;
    color: #9ad8ff;
    background: #202c40;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    margin-right: 0.5rem;
    white-space: nowrap; /* HIER! */
}
.eintraege-liste .eintrag:hover {
    box-shadow: 0 2px 8px #3b82f650;
}
.eintraege-liste {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.eintraege-liste input[type="text"],
.eintraege-liste input[type="number"] {
    margin-top: 0.15rem;
    background: #232c3c;
    color: #f0f0f0;
    border: 1px solid #466693;
    border-radius: 6px;
    padding: 0.38rem 0.75rem;
    font-size: 1.04rem;
    min-width: 100px;
}
.wochenbericht-tag button[type="button"] {
    margin-top: 0.7rem;
    background: linear-gradient(90deg, #2fa67a 30%, #2db583 100%);
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 0.3rem 0.8rem;
    cursor: pointer;
    font-size: 0.96rem;
    font-weight: bold;
    box-shadow: 0 1px 3px #0004;
    transition: background 0.2s;
    display: inline-block;
}
.wochenbericht-tag button[type="button"]:hover {
    background: #259e68;
    color: #fff;
}
.wochenbericht-form .button[type="submit"] {
    margin: 2rem auto 0 auto;
    display: block;
    width: 100%;
    max-width: 320px;
    font-size: 1.01rem;
    padding: 0.7rem;
    border-radius: 10px;
    background: linear-gradient(90deg, #2fa67a 0%, #2db583 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: bold;
    letter-spacing: 1px;
    transition: background 0.18s;
}
.wochenbericht-form .button[type="submit"]:hover {
    background: #259e68;
}
lor: #5ed6ab;
}

.profile-dashboard {
    background: #232c40;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.36);
    padding: 2.2rem 2.3rem 1.6rem 2.3rem;
    max-width: 500px;
    margin: 4rem auto 2rem auto;
}
.profile-info-box {
    margin-bottom: 1.9rem;
    background: rgba(0,0,0,0.09);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: #f1f1f1;
    font-size: 1.07rem;
}
.profile-actions {
    margin-top: 1.5rem;
    text-align: center;
}
@media (max-width: 600px) {
    .profile-dashboard {
        padding: 1.3rem 0.5rem 1.1rem 0.5rem;
        max-width: 99vw;
    }
    .button {
        width: 97%;
        max-width: 340px;
        font-size: 1rem;
        margin: 0.5rem 0 0 0;
    }
    .profile-dashboard--wide {
        max-width: 98vw;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

.button {
    display: inline-block;
    padding: 0.38rem 1.05rem;
    font-weight: bold;
    font-size: 0.98rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    margin: 0.5rem 0.6rem 0 0;
    transition: background 0.18s, transform 0.11s;
    background: #888;
    color: #fff;
}
.button-index {
    background: linear-gradient(90deg, #2fa67a 0%, #2db583 100%) !important;
    color: #fff !important;
}
.button-overview {
    background: linear-gradient(90deg, #3498db 0%, #87caf9 100%) !important;
    color: #fff !important;
}
.button-logout {
    background: linear-gradient(90deg,#e7523b 0%,#fd875a 100%) !important;
    color: #fff !important;
}
.button:hover,
.button:focus {
    filter: brightness(1.08);
    transform: translateY(-2px) scale(1.03);
}
/* Übersicht Table-Styling */
.table-wrapper {
    overflow-x: auto;
    margin-bottom: 1.5rem;
}
.overview-table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 10px;
    background: #21263a;
    color: #d5eaff;
    border-radius: 8px;
    overflow: hidden;
    font-size: 1.01rem;
}
.overview-table th, .overview-table td {
    border: 1px solid #334a73;
    padding: 10px 8px;
    text-align: left;
}
.overview-table th {
    background: #273459;
    color: #78beff;
}
.overview-table tr:nth-child(even) {
    background: #232842;
}
.button-overview {
    font-size: 0.99rem;
    padding: 0.48rem 1.2rem;
    margin: 0 0.5rem 0.4rem 0;
}
@media (max-width: 600px) {
    .overview-table th, .overview-table td { font-size: 0.91rem; padding: 7px 2px; }
    .button-overview { width: 96%; max-width:320px; margin: 0.22rem 0; }
}
.input {
    padding: 0.48rem 0.8rem;
    border-radius: 7px;
    border: 1px solid #334a73;
    background: #222c40;
    color: #e6f4ff;
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
    width: 100%;
    box-sizing: border-box;
}
.button-admin {
    background: linear-gradient(90deg, #3e8ec7 0%, #66de93 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.05rem;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.18s, transform 0.11s;
    box-shadow: 0 2px 8px rgba(34,200,160,0.08);
    margin: 0.35rem 0.65rem 0.35rem 0;
    display: inline-block;
}
.button-admin:hover, .button-admin:focus {
    background: linear-gradient(90deg, #338acb 0%, #4cd9a6 100%);
    transform: translateY(-2px) scale(1.04);
    color: #fff;
}
.message {
    padding: 11px 18px;
    background: #1a3e29;
    color: #73ffa3;
    border-radius: 7px;
    font-size: 1.1rem;
    font-weight: bold;
}
.error {
    padding: 11px 18px;
    background: #431b19;
    color: #ff6a6a;
    border-radius: 7px;
    font-size: 1.1rem;
    font-weight: bold;
}
.reminder-box {
    background: #ffe7c5;
    color: #a95708;
    padding: 1rem;
    margin-bottom: 1.3rem;
    border-radius: 7px;
    font-weight: bold;
    font-size: 1.06rem;
    box-shadow: 0 1px 5px #0001;
}
.profile-dashboard--wide {
    max-width: 1100px;
    margin: 2.7rem auto;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    /* du kannst den Kasten noch höher machen, wenn nötig */
}
@media (max-width: 480px) {
    .tag-details {
        flex-direction: column;
        align-items: flex-start;
    }

    .eintraege-liste .eintrag {
        flex-direction: column;
        gap: 0.8rem;
        padding: 1rem;
    }

    .eintraege-liste label {
        min-width: 100%;
    }

    .profile-dashboard {
        padding: 1rem 0.7rem;
    }

    .profile-info-box {
        font-size: 0.96rem;
    }

    .button {
        font-size: 0.95rem;
        padding: 0.55rem 1rem;
        width: 100%;
    }

    .wochenbericht-headline {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.3rem;
    }

    .overview-table th, .overview-table td {
        font-size: 0.85rem;
        padding: 6px 4px;
    }

    .wochenbericht-form {
        padding: 0 0.5rem;
    }
}
