/* Initial verstecken wir die Elemente, die später eingeblendet werden sollen */
.extra-services {
    display: none !important;
}

.appointment-section {
    display: none;
}

.appointment-selected {
    display: none;
}

.employee-selection {
    display: none;
}

.customer-section {
    display: none;
}

.time-slot {
    cursor: pointer;
    padding: 5px;
    border: 1px solid #ddd;
    text-align: center;
}

.time-slot:hover {
    background-color: #f0f0f0;
}

.selected-service {
    margin-bottom: 20px;
}

.schedule-table th,
.schedule-table td {
    padding: 10px;
}

.employee-selection {
    display: none;
    /* Versteckt die Mitarbeiterauswahl initial */
    margin-bottom: 20px;
}

/* Mobile-Ansicht */
@media (max-width: 740px) {
    .schedule-table {
        display: none;
    }

    .day-list {
        display: block;
    }

    .day-list-item {
        margin-bottom: 10px;
    }

    .time-slots-mobile {
        /* display: none; */
        margin-top: 10px;
    }

    .day-column {
        text-align: center;
        /* Links ausgerichtet */
    }

    .day-row {
        border-bottom: 1px solid #ddd;
        /* Leichte Trennlinie */
        padding-bottom: 10px;
        margin-bottom: 10px;
    }
}

/* Desktop-Ansicht */
@media (min-width: 741px) {
    .day-list {
        display: none;
    }
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

footer {
    /* background-color: #87888a; */
    background-color: var(--primary-color);
    padding: 10px 0;
    text-align: center;
    font-size: 10px;
    color: #fff;
}

.custom-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Optional styling for selected services container */
#selectedservicesPrevNext {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    width: 100%;
    padding-left: 8px;
    padding-right: 8px;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 10px;
    box-sizing: border-box;
    background-color: #eeeeee;
    border: 1px solid #ddd;
}

/* Optional styling for buttons */
#selectedservicesPrevNext button {
    flex-shrink: 0;
    /* Prevent buttons from shrinking */
    margin: 0 8px;
    /* Ensure some spacing around buttons */
}

#selectedservicesPrevNext:hover {
    background-color: #e9ecef;
    /* Etwas dunkler bei Hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Leichter Schatten */
}

@media (max-width: 576px) {
    #selectedservicesPrevNext {
        flex-direction: column !important;
        align-items: stretch !important;
        text-align: center;
    }

    #selectedservicesPrevNext button {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    #selected-services-list {
        padding: 0.5rem 0;
    }
}

/* Stil für das Begrüßungs-Container-Element */
.welcome-container {
    background-color: #f0f9ff;
    /* Sanftes Blau als Hintergrundfarbe */
    padding: 20px;
    border-radius: 15px;
    /* Abgerundete Ecken */
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Dezenter Schatten für mehr Tiefe */
    color: #333;
    /* Textfarbe für guten Kontrast */
    font-size: 1.2em;
    margin-bottom: 20px;
    /* Abstand nach unten für visuelle Trennung */
}

/* Stil für den Begrüßungstext */
.welcome-text {
    font-weight: bold;
    margin: 0;
}

.welcome-subtext {
    font-size: 0.9em;
    color: #666;
    /* Leicht abgeschwächte Farbe für Nebeninformationen */
    margin-top: 10px;
}

@media (min-width: 601px) {
    #terminuebersicht-mobil {
        display: none;
    }
}

/* Mobile Anpassungen */
@media (max-width: 600px) {
    #terminuebersicht-breit {
        display: none;
    }
}

/* Mobile Anpassungen */
@media (max-width: 600px) {

    body {
        font-size: 1em;
    }

    .welcome-container,
    .success-message,
    .error-message {
        padding: 10px;
        /* Weniger Abstand innen */
        font-size: 1em;
        /* Kleinere Schriftgröße */
        margin-bottom: 10px;
        /* Weniger Abstand nach unten */
        border-radius: 10px;
        /* Weniger abgerundete Ecken */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        /* Leichterer Schatten */
    }

    /* Stil für den Haupttext */
    .welcome-text,
    .success-text,
    .error-text {
        font-size: 1.1em;
        /* Leicht reduzierte Größe */
    }

    /* Stil für den Untertext */
    .welcome-subtext,
    .success-subtext,
    .error-subtext {
        font-size: 0.85em;
        /* Kleinere Größe für Nebeninformationen */
    }
}

/* Stil für das Erfolgs-Container-Element */
.success-message {
    background-color: #e6ffe6;
    /* Sanftes Grün als Hintergrundfarbe für den Erfolg */
    padding: 20px;
    border-radius: 15px;
    /* Abgerundete Ecken */
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Dezenter Schatten für Tiefe */
    color: #2e7d32;
    /* Grüne Textfarbe für gute Lesbarkeit */
    font-size: 1.2em;
    margin-bottom: 20px;
    border: 1px solid #a5d6a7;
    /* Dezente Umrandung für Klarheit */
}

/* Stil für den Erfolgstext */
.success-text {
    font-weight: bold;
    margin: 0;
}

.success-subtext {
    font-size: 0.9em;
    color: #388e3c;
    /* Leicht abgedunkelte Farbe für Untertext */
    margin-top: 10px;
}

/* Stil für das Fehler-Container-Element */
.error-message {
    background-color: #ffe6e6;
    /* Sanftes Rot als Hintergrundfarbe für Fehlermeldungen */
    padding: 20px;
    border-radius: 15px;
    /* Abgerundete Ecken */
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Dezenter Schatten für Tiefe */
    color: #d32f2f;
    /* Rote Textfarbe für gute Lesbarkeit */
    font-size: 1.2em;
    margin-bottom: 20px;
    border: 1px solid #ef9a9a;
    /* Dezente Umrandung für Klarheit */
}

/* Stil für den Fehlertext */
.error-text {
    font-weight: bold;
    margin: 0;
}

.error-subtext {
    font-size: 0.9em;
    color: #c62828;
    /* Leicht abgedunkelte Farbe für Untertext */
    margin-top: 10px;
}

.employee-select {
    position: relative;
    width: 200px;
}

.employee-selected {
    background-color: #f1f1f1;
    padding: 10px;
    cursor: pointer;
}

.employee-options {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    width: 100%;
    border: 1px solid #ddd;
    z-index: 1;
}

.employee-option {
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.employee-option:hover {
    background-color: #ddd;
}

/*
.employee-image {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    border-radius: 50%;
}
*/

.employee-image {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    border-radius: 50%;
}

/* Salon-Theme Farben und Schriftarten */
:root {
    --primary-color: #9b33e6;
    --secondary-color: #ff69b4;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
}

h1,
h2,
.navbar-brand {
    font-family: 'Lobster', cursive;
}

.custom-navbar {
    background-color: var(--primary-color);
}

.custom-navbar .nav-link,
.custom-navbar .navbar-brand {
    color: #fff;
}

.custom-navbar .nav-link:hover,
.custom-navbar .navbar-brand:hover {
    color: var(--secondary-color);
}

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: #ff85c2;
    border-color: #ff85c2;
}

/* Dark theme variant */
body.dark-theme {
    background-color: #121212;
    color: #f8f9fa;
}

body.dark-theme .custom-navbar {
    background-color: #343a40;
}

body.dark-theme .custom-navbar .nav-link,
body.dark-theme .custom-navbar .navbar-brand {
    color: #f8f9fa;
}

body.dark-theme footer {
    background-color: #343a40;
    color: #f8f9fa;
}

body.dark-theme .btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

body.dark-theme .btn-primary:hover {
    background-color: #ff85c2;
    border-color: #ff85c2;
}

/* Additional theme variants */
body.pastel-theme {
    --primary-color: #ffb6c1;
    --secondary-color: #b19cd9;
    font-family: Verdana, sans-serif;
}

body.vibrant-theme {
    --primary-color: #ff5722;
    --secondary-color: #ffc107;
    font-family: Tahoma, sans-serif;
}

body.ocean-theme {
    --primary-color: #0277bd;
    --secondary-color: #26c6da;
    font-family: Arial, sans-serif;
}

body.elegant-theme {
    --primary-color: #343a40;
    --secondary-color: #6c757d;
    font-family: Georgia, serif;
}

body.vintage-theme {
    --primary-color: #8d6e63;
    --secondary-color: #d4af37;
    font-family: "Courier New", monospace;
}



/* Clean tech theme variant */
body.tech-theme {
    --primary-color: #ffffff;
    --secondary-color: #20c997;
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #ffffff;
    color: #212529;
}

body.tech-theme h1,
body.tech-theme h2,
body.tech-theme .navbar-brand {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 700;
}

body.tech-theme .custom-navbar {
    background-color: var(--primary-color);
    border-bottom: 1px solid #dee2e6;
}

body.tech-theme .custom-navbar .nav-link,
body.tech-theme .custom-navbar .navbar-brand {
    color: #212529;
}

body.tech-theme .custom-navbar .nav-link:hover,
body.tech-theme .navbar-brand:hover {
    color: var(--secondary-color);
}

body.tech-theme footer {
    background-color: #f8f9fa;
    color: #6c757d;
    border-top: 1px solid #dee2e6;
}

body.tech-theme .btn-primary {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

body.tech-theme .btn-primary:hover {
    background-color: var(--secondary-color);
    color: #ffffff;
    border-color: var(--secondary-color);
}

/* --- Customer area styles --- */
#kunden-konto-header {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

#kunden-konto-header .btn {
    flex: 1 1 auto;
}

@media (min-width: 576px) {
    #kunden-konto-header .btn {
        flex: 0 0 auto;
    }
}
