/* Allgemeine Stile */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f8f8f8;
    margin: 0;
    padding: 0;
}

/* Container für die Inhalte */
.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 10px;
}
/* Header-Stile */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin-bottom: 20px;
}

/* Menübutton */
.menu-icon {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: absolute;
    top: 10px;
    left: 10px;
}

.menu-icon .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-icon:hover .bar {
    background-color: #007aff;
}

/* Logo */
.logo {
    margin: 0 auto;
    height: 40px;
    display: block;
}



.app-title {
    font-size: 24px;
    font-weight: 600;
}

/* Admin-Actions (Buttons) */
.actions {
    display: flex;
    justify-content: center;
    gap: 10px; /* Gleicher Abstand wie bei View-Switcher */
    margin-bottom: 20px; /* Abstand unterhalb */
}

/* Buttons genereller Stil */
.actions button, .view-switcher button {
    background-color: #f0f0f0; /* Dezentes Grau */
    color: #333; /* Dunkles Grau für Text */
    border: 1px solid #ccc; /* Heller Rahmen */
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.actions button:hover, .view-switcher button:hover {
    background-color: #e0e0e0; /* Etwas dunkleres Grau beim Hover */
    color: #000; /* Dunklerer Text beim Hover */
}

.actions button.active, .view-switcher button.active {
    background-color: #d0d0d0; /* Noch dunkleres Grau für aktiven Zustand */
    color: #000; /* Schwarzer Text */
}

/* Terminübersicht */
.event {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 12px;
    transition: background-color 0.3s ease; /* Übergang für Farben */
}

/* Farben bei Antworten */
.event.accepted {
    background-color: #e0f7e9; /* Leichtes Grün */
}

.event.declined {
    background-color: #fbe4e4; /* Leichtes Rot */
}

.event-details {
    flex-grow: 1;
}

.event-date {
    background-color: #e0e0e0; /* Dunkelgrauer Hintergrund */
    color: #555; /* Weiße Schrift */
    font-size: 18px; /* Etwas größere Schrift für bessere Lesbarkeit */
    font-weight: bold; /* Fettgedruckt für Hervorhebung */
    padding: 6px 12px; /* Innenabstand für das Datum */
    border-radius: 4px; /* Abgerundete Ecken */
    display: inline-block; /* Block für den Hintergrund */
    text-align: center; /* Zentriert den Text */
}

/* Vertikaler Strich */
.event-separator {
    font-size: 18px;
    font-weight: normal;
    color: #bbb; /* Dezente Farbe */
}

/* Künstlername */
.event-artist {
    font-size: 18px;
    font-weight: 500;
    color: #555;
}
.event-actions {
    display: flex;
    gap: 8px;
}

.event-location {
    font-size: 16px;
    font-weight: 500;
    color: #555;
}


.event-actions button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.event-actions .icon {
    width: 40px;
    height: 40px;
    transition: transform 0.2s ease;
}

.event-actions .btn-accept:hover .icon {
    transform: scale(1.2);
}

.event-actions .btn-decline:hover .icon {
    transform: scale(1.2);
}


/* Erfolgsmeldung */
.message {
    background-color: #4caf50;
    color: white;
    padding: 12px;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 20px;
    text-align: center;
}

/* Links */
a {
    color: #007aff;
    text-decoration: none;
    font-size: 14px;
}

a:hover {
    text-decoration: underline;
}

/* Create Artist: Mittig platzieren */
.create-artist-container {
    max-width: 400px;
    width: 90%;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 32px;
    text-align: center;
    margin: 50px auto; /* Abstand von oben und unten */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Verhindert zu starke vertikale Zentrierung */
    min-height: auto; /* Keine feste Höhe */
}

.create-artist-container h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.create-artist-container form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center; /* Zentriert die Elemente innerhalb des Formulars */
}

.create-artist-container input {
    width: 100%;
    max-width: 300px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    text-align: center;
}

.create-artist-container button {
    background-color: #007aff;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 12px;
}

/* Registrierung und Login spezifisch */
.auth-container {
    max-width: 280px;
    margin: 100px auto;
    background-color: #ffffff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.auth-container h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.auth-container form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-container input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

.auth-container button {
    background-color: #007aff;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.auth-container button:hover {
    background-color: #005bb5;
}

.auth-container a {
    color: #007aff;
    text-decoration: none;
    font-size: 14px;
}

.auth-container a:hover {
    text-decoration: underline;
}

/* Toast spezifisch */
.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4caf50;
    color: white;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    z-index: 1000;
    display: none; /* Standardmäßig versteckt */
}

.toast.show {
    display: block;
}

/* Create Event spezifisch */
.create-event-container {
    max-width: 300px;
    margin: 50px auto;
    background-color: #ffffff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.create-event-container h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.create-event-container form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center; /* Zentriert das Formular */
}

.create-event-container input,
.create-event-container select {
    width: 100%;
    max-width: 300px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

.create-event-container button {
    background-color: #007aff;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.create-event-container button:hover {
    background-color: #005bb5;
}

/* Teilnehmerauswahl */
.user-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    width: 100%;
    max-width: 300px;
}

.user-option {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f1f1f1;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.user-option:hover {
    background-color: #e7e7e7;
}

.user-option.selected {
    background-color: #007aff;
    color: white;
    border-color: #005bb5;
}
/* Bestehende Stile bleiben erhalten */

/* Menübutton */


.menu-icon .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-icon:hover .bar {
    background-color: #007aff;
}

/* Menübutton */


.menu-icon .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-icon:hover .bar {
    background-color: #007aff;
}
/* Logo */


/* Optional: Für Tablets/Mobile kann man das Layout anpassen */
@media (max-width: 768px) {
    .logo {
        height: 40px; /* Kleinere Höhe auf kleineren Geräten */
    }

    .menu-icon {
        top: 8px;
        left: 8px;
    }
}

.app-title {
    text-align: center;
    margin: 0 auto;
    font-size: 24px;
    font-weight: 600;
}

/* Menü */
.menu {
    display: none;
    position: absolute;
    top: 50px; /* Direkt unter dem Menübutton */
    left: 10px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    z-index: 1000;
    padding: 10px 20px;
}

.menu.open {
    display: block;
}

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

.menu ul li {
    margin: 10px 0;
}

.menu ul li a {
    color: #007aff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.menu ul li a:hover {
    color: #005bb5;
}

/* Menü Schatten */
.menu::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #ffffff;
}

/* Terminkarte */
.event {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 16px;
    margin-bottom: 20px;
    position: relative;
}

.event-header {
    display: flex; /* Elemente nebeneinander darstellen */
    align-items: center; /* Vertikal zentrieren */
    gap: 8px; /* Abstand zwischen den Elementen */
}

.event-info {
    margin-right: 20px;
}

.event-date, .event-location, .event-artist {
    margin: 5px 0;
    font-size: 14px;
}

/* Bestätigter LD / OP */
.event-operator {
    font-size: 15px; /* Kleinere Schriftgröße */
    font-weight: 400; /* Normale Schriftstärke */
    color: #777; /* Dezente Farbe */
    margin-top: 14px; /* Leichter Abstand nach oben */
}

/* Teilnehmeranzeige */
.response-tag {
    display: inline-block;
    padding: 8px 12px;
    margin: 5px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    color: white;
}

.response-tag.accepted {
    background-color: #4caf50;
}

.response-tag.declined {
    background-color: #f44336;
}

/* Löschen-Button */
.delete-button {
    background-color: transparent;
    border: none;
    color: #f44336;
    font-size: 18px;
    cursor: pointer;
}

/* Teilnehmer-Anzeige-Button */
.response-button {
    background-color: #007aff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.response-button:hover {
    background-color: #005bb5;
}

.line-fade {
    height: 1px; /* Höhe der Linie */
    background: linear-gradient(to right, #ddd, rgba(221, 221, 221, 0)); /* Verlauf von der Farbe #ddd zu transparent */
    border: none; /* Entfernt Ränder */
    margin: 10px 0; /* Abstand oben und unten */
    width: 100%; /* Breite der Linie */
    display: block; /* Blockelement */
}

.confirmed-operator {
    font-size: 12px;
    color: #555;
    margin-top: 8px;
}
/* View-Switcher (Anfragen / Termine) */
.view-switcher {
    display: flex;
    justify-content: center;
    gap: 10px; /* Gleichmäßiger Abstand zwischen Buttons */
    margin-bottom: 20px; /* Abstand zu den Admin-Buttons */
}

.view-switcher button {
    background-color: #e6e6e6; /* Dezentes Grau */
    color: #333; /* Dunkelgrauer Text */
    border: 1px solid #ccc; /* Leichter Rahmen */
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Leichter Schatten */
}

/* Hover-Effekt für die View-Switcher */
.view-switcher button:hover {
    background-color: #d9d9d9; /* Etwas dunkleres Grau beim Hover */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15); /* Stärkerer Schatten */
}

/* Aktiver View-Button */
.view-switcher button.active {
    background-color: #333; /* Blau für den aktiven Button */
    color: white; /* Weißer Text */
    font-weight: bold; /* Fettgedruckt */
    border: none; /* Kein Rahmen für aktive Buttons */
}

/* Tabellen-Stile */
.termin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.termin-table th,
.termin-table td {
    text-align: left;
    padding: 10px 14px;
    font-size: 14px;
    border-bottom: 1px solid #ddd;
}

.termin-table th {
    background-color: #f5f5f5;
    font-weight: 700;
    color: #333;
}

.termin-table tr:last-child td {
    border-bottom: none;
}

.termin-table td {
    color: #555;
}

.termin-table td:first-child {
    font-weight: 600;
    color:  #333;
}

.ical-button {
    display: inline-block;
    margin-left: -10px;
    padding: 0px 10px;
    color: #555;
    text-decoration: underline;
    border-radius: 5px;
    font-size: 13px;
}

.ical-button:hover {
    color: #000;
}

.termin-table tbody tr.new-month {
    background-color: #e0e0e0; /* Hellgrauer Hintergrund */
    font-weight: bold;
    text-align: center;
}
.termine-count {
    font-style: italic;
    text-align: left;
    margin-bottom: 10px;
    font-size: 12px;
    color: #666; /* Leicht dunkler Text */
}
@media (max-width: 480px) {
    body {
        font-size: 12px; /* Globale Schriftgröße für Mobilgeräte */
    }

    .view-switcher button, .actions button {
        font-size: 12px; /* Kleinere Schrift für Buttons */
        padding: 6px 14px; /* Weniger Padding */
    }

    .termin-table th, .termin-table td {
        font-size: 12px; /* Kleinere Schrift für Tabellen */
    }
}

.filter-container {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Positioniere den Button nach rechts */
    margin-bottom: 10px;
}

.filter-label {
    font-size: 14px;
    margin-right: 5px;
}

.filter-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 5px;
}

.filter-select {
    padding: 5px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.reset-button {
    margin-left: 10px;
    padding: 5px 10px;
    background-color:  #bbb; /* Rote Farbe für Reset */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.reset-button:hover {
    background-color:  #555;
}

.past-event {
    background-image: radial-gradient(circle, #eee 1px, transparent 1px);
    background-size: 6px 6px; /* Größe der Punkte */
}