/* Farben */
:root {
    --primary-color: #20b2aa; /* Knalliges, aber nicht aufdringliches Cyan */
    --primary-hover: #159089; /* Dunkleres Cyan für Interaktionen */
    --background-color: #121212; /* Tiefes Schwarz als Hauptfarbe */
    --input-bg: #1e1e1e; /* Dunkles Grau für Inputs */
    --border-color: #333333; /* Dezenter Kontrast für Ränder */
    --text-color: #ffffff; /* Reines Weiß für Texte */
    --placeholder-color: #757575; /* Dezentes Grau für Platzhalter */
    --neutral-color: #222222; /* Neutral für sekundäre Elemente */
    --error-color: #ff1744; /* Auffälliges Rot für Fehler */
    --success-color: #00c853; /* Helles Grün für Erfolgsmeldungen */
    --shadow-color: rgba(0, 0, 0, 0.5); /* Subtile Schatten */
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    background: var(--primary-color);
    color: #fff !important;
}
a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: var(--primary-hover);
}

.fc-prev-button.fc-button.fc-button-primary,
.fc-next-button.fc-button.fc-button-primary,
.fc-prev-button.fc-button.fc-button-primary.active,
.fc-next-button.fc-button.fc-button-primary.active,
.fc-prev-button.fc-button.fc-button-primary:focus,
.fc-next-button.fc-button.fc-button-primary:focus {
    background-color: var(--primary-color);
    border-color: var(--primary-hover);
    color: #fff;
    border-radius: 3px;
    padding: 8px 5px;
}

.fc-prev-button.fc-button.fc-button-primary:hover,
.fc-next-button.fc-button.fc-button-primary:hover {
    background-color: #2ac2b8;  /* Klares, dezentes Blau */
    border-color: #2ac2b8;
    color: #fff;
    box-shadow: 0 3px 18px -8px rgba(104, 200, 224, 0.8);
}


.fc-today-button.fc-button.fc-button-primary:hover {
    background-color: #c8e7f0;  /* Pastell-Cyan mit Aqua */
    border-color: #c8e7f0;
    color: #2b4d53;
    box-shadow: 0 3px 12px -6px rgba(120, 190, 220, 0.3);
}


/* Ändert die Farbe der Arbeitszeit-Hinterlegung */
.fc-business-hours {
    background-color: rgba(200, 240, 255, 0.3) !important; /* Sanftes Pastellblau */
}

.btn-outline-primary {
    color: #20b2aa;
    border-color: #20b2aa;
    background-color: transparent;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary.focus,
.btn-outline-primary:not(:disabled):not(.disabled).active,
.btn-outline-primary:not(:disabled):not(.disabled):active {
    color: #fff;
    background-color: #20b2aa;
    border-color: #20b2aa;
    box-shadow: 0 3px 12px rgba(32, 178, 170, 0.4);
}




/* Globales Layout */
body {
    /*background-color: var(--background-color);*/
    color: var(--text-color);
    font-family: 'Poppins', sans-serif; /* Moderner Font */
    line-height: 1.8;
    margin: 0;
    padding: 0;
}

/* Modal Header */
.modal-header {
    background-color: var(--neutral-color);
    border-bottom: 1px solid var(--border-color);
    padding: 16px;
}

.modal-title {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Modal Body */
.modal-body {
    padding: 2rem;
    background-color: var(--neutral-color);
    /* border-radius: 16px; */
    box-shadow: 0 8px 24px var(--shadow-color);
}


/* Modal Footer Styling */
.modal-footer {
    border-top: none; /* Entfernen der oberen Grenze */
    padding: 15px 20px;
    background-color: var(--neutral-color); /* Gleiche Hintergrundfarbe wie der Modal-Body */
    display: flex;
    justify-content: flex-end; /* Buttons nach rechts ausrichten */
}

.modal-footer button {
    font-weight: 600; /* Stärkere Schrift für Buttons */
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease; /* Weicher Übergang */
}

.modal-footer button:hover {
    background-color: var(--primary-hover); /* Hover-Effekt für Buttons */
    color: #fff; /* Weiße Schrift beim Hover */
}

/* Button-Styling für "Entfernen" und "Speichern" */
.btn-danger, .btn-primary {
    font-size: 1rem;
    font-weight: 600;
}

/* Modal Dialog Styling */
.modal-dialog {
    max-width: 800px; /* Breite des Modals */
    margin: 30px auto; /* Zentrieren des Modals auf der Seite */
}


/* Form Layout */
.form-label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
    margin-bottom: 10px;
    display: block;
}

.form-control,
.form-select {
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 14px 18px;
    font-size: 1rem;
    background-color: var(--input-bg);
    color: var(--text-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control::placeholder,
.form-select::placeholder {
    color: var(--placeholder-color);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

/* Zeitslots */
#eventSlots button {
    border-radius: 12px;
    padding: 14px 24px;
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

#eventSlots button:hover {
    background-color: var(--primary-color);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 229, 255, 0.3);
}

#eventSlots button.active {
    background-color: var(--primary-hover);
    color: #000;
    box-shadow: 0 4px 8px rgba(0, 184, 212, 0.4);
}

/* Color Picker */
.form-control-color {
    height: 50px;
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background-color: var(--input-bg);
}

/* Submit Button */
.btn-primary {
    background-color: var(--primary-color);
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    font-weight: 700;
    font-size: 1.2rem;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 184, 212, 0.4);
}

.feedback-message {
    margin-bottom: 24px;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    background-color: var(--error-color, #ffdede); /* Fallback: leichtes Rot für Fehler */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease, transform 0.3s ease;
    /* Startzustand für sanften Einblend-Effekt */
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: auto;
}
.feedback-message-success {
    margin-bottom: 24px;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    background-color: var(--bs-teal, #ffdede); /* Fallback: leichtes Rot für Fehler */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease, transform 0.3s ease;
    /* Startzustand für sanften Einblend-Effekt */
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

/* Wenn das Element sichtbar sein soll */
.feedback-message.show,
.feedback-message-success.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Falls du zusätzliche Fehlerstile verwenden möchtest */
.feedback-message.error {
    background-color: var(--error-color);
    color: #fff;
}

/* Close-Button-Stile bleiben unverändert */
.feedback-message .close-feedback {
    font-size: 1.2rem;
    cursor: pointer;
    background: none;
    border: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.feedback-message .close-feedback:hover {
    opacity: 0.7;
}


/* Entfernen-Button */
#removeDoctorBtn {
    display: none; /* Standardmäßig ausgeblendet */
    background-color: var(--error-color);
    border: none;
    border-radius: 12px;
    padding: 12px 18px;
    color: #fff;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#removeDoctorBtn:hover {
    background-color: #d50000;
    transform: translateY(-2px);
}

/* Datumsanzeige */
#eventDate {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    background-color: var(--neutral-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 16px;
    display: inline-block;
    line-height: 1.4;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dunkles Listenelement im iPhone-Stil */
.list-group-item {
    background: #1C1C1E !important; /* Dunkles Grau für iOS-Feeling */
    border: 1px solid rgba(255, 255, 255, 0.15) !important; /* Leicht stärkere Trennung */
    color: var(--primary-color) !important; /* Schriftfarbe auf Primary Color setzen */
    border-radius: 16px !important; /* Runde Ecken für modernen Look */
    padding: 14px 18px !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.05); /* Weicher iOS-typischer Schatten */
    transition: background-color 0.3s ease, transform 0.15s ease !important;
}

/* Hover-Effekt für Interaktivität */
.list-group-item:hover {
    background: #2C2C2E !important; /* Etwas helleres Grau für Hover */
    transform: scale(1.02) !important;
}

/* Buttons innerhalb der Listenelemente */
.list-group-item button {
    background: transparent;
    border: none;
    color: var(--primary-color) !important; /* Button-Farbe auf Primary Color setzen */
    font-size: 1.2rem;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s ease-in-out;
}

#appointmentTypeFormContainer {
    background: var(--background-dark) !important;
    color: var(--primary-color) !important;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.05);
}

/* Button-Hover für mehr Interaktivität */
.list-group-item button:hover {
    background: rgba(10, 132, 255, 0.2);
}

.appointment_type_title {
    color: var(--primary-color) !important;
}

/* Hover-Effekt */
.list-group-item:hover {
    background-color: var(--primary-color); /* Highlight mit Cyan */
    color: #000; /* Textfarbe ändert sich für Kontrast */
    transform: translateY(-2px); /* Leichte Bewegung nach oben */
    box-shadow: 0 4px 8px rgba(0, 229, 255, 0.3); /* Dezenter Schatten */
}

/* Aktives/ausgewähltes Listenelement */
.list-group-item.active {
    background-color: var(--primary-hover); /* Dunkleres Cyan */
    color: #000; /* Kontrastreicher Text */
    font-weight: 600; /* Hervorhebung durch dickere Schrift */
    box-shadow: 0 6px 12px rgba(0, 184, 212, 0.4); /* Stärkerer Schatten */
}

/* Allgemeine Header-Styling */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color); /* Cyan für alle Header */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 600; /* Etwas stärkerer Schriftschnitt für Header */
    line-height: 1.2; /* Etwas engerer Zeilenabstand für bessere Lesbarkeit */
    margin-bottom: 1rem; /* Abstände für klare Trennung */
    transition: color 0.3s ease; /* Weiche Übergänge für Hover */
}

/* Hover-Effekt für Header */
h1:hover, h2:hover, h3:hover, h4:hover, h5:hover, h6:hover {
    color: var(--primary-hover); /* Ein dunkleres Cyan beim Hover */
    /* text-decoration: underline; */ /* Unterstreichung beim Hover für interaktive Wirkung */
}

/* Besondere Gestaltung für h1 */
h1 {
    font-size: 2.5rem; /* Größer für Haupttitel */
    font-weight: 700; /* Noch kräftigerer Font für h1 */
    letter-spacing: -0.5px; /* Leicht engerer Abstand für mehr Dynamik */
}

/* Besondere Gestaltung für h2 */
h2 {
    font-size: 2rem; /* Etwas kleiner als h1, aber immer noch groß */
    font-weight: 600; /* Normale Gewichtung */
}

/* Für h3 bis h6 (Stufenweise kleinere Header) */
h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

h4 {
    font-size: 1.5rem;
    font-weight: 500;
}

h5 {
    font-size: 1.25rem;
    font-weight: 500;
}

h6 {
    font-size: 1rem;
    font-weight: 400; /* Etwas leichter für h6 */
}

/* Optional: Headline-Container mit Schatten für mehr Tiefe */
.header-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 184, 212, 0.2); /* Sanfter Schatten für mehr Tiefe */
    padding: 15px;
    background-color: var(--neutral-color); /* Hintergrundfarbe passend zum Thema */
    border-radius: 12px;
}


/* Liste der Terminarten (im Terminarten-Modul) */
#appointmentTypeList .list-group-item {
    background-color: #f8f9fa; /* Sehr heller Grauton, aber nicht weiß */
    color: #333; /* Dunkle Schriftfarbe für besseren Kontrast */
    border-radius: 8px; /* Abgerundete Ecken für Listenelemente */
    margin-bottom: 10px; /* Abstand zwischen Listenelementen */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sanfter Schatten */
    transition: all 0.3s ease;
}

/* Hover-Effekt für Listenelemente */
#appointmentTypeList .list-group-item:hover {
    transform: translateY(-3px); /* Leichter Hover-Effekt */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Verstärkter Schatten bei Hover */
    background-color: #e9ecef; /* Dezent dunklerer Hintergrund bei Hover */
}

/* Styling für den Container der Terminarten */
#appointmentTypeListContainer {
    padding-bottom: 10px;
    overflow-y: auto; /* Scrollen erlauben, falls notwendig */
    background-color: var(--input-bg) !important; /* Leicht grauer Hintergrund für den Container */
    border-radius: 8px; /* Abgerundete Ecken für den Container */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sanfter Schatten für den Container */
}


/* Styling für die bestehenden Terminarten (existent_appointment_types) */
.existent_appointment_types li {
    background-color: #f1f3f5 !important; /* Sanfter, neutraler Grauton als Hintergrund */
    color: #495057; /* Dunklere Schriftfarbe für besseren Kontrast und Lesbarkeit */
    border: 1px solid #ced4da; /* Dezente Grenze für die Listenelemente */
    border-radius: 8px; /* Abgerundete Ecken */
    padding: 10px 15px; /* Innenabstand */
    margin-bottom: 8px; /* Abstand zwischen den Listenelementen */
    transition: all 0.3s ease; /* Sanfter Übergang für Hover-Effekte */
}

/* Hover-Effekt für die bestehenden Terminarten */
.existent_appointment_types li:hover {
    background-color: #e9ecef; /* Leichterer Grauton beim Hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Dezenter Schatten bei Hover */
    transform: translateY(-2px); /* Leichter Aufwärts-Effekt */
}


input[type="time"] {
    color-scheme: dark !important;
}


/* Appointment-Type Timeslots */
.day-button {
    background: linear-gradient(145deg, #2c2c2e, #1c1c1e);
    color: #f0f0f5;
    font-size: 16px;
    font-weight: 700;
    padding: 12px;
    border-radius: 50%;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    width: 48px;
    height: 48px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.day-button.active {
    background: linear-gradient(145deg, #7edbdc, #c4e3f9);
    color: white;
    border: 1px solid #7edbdc;
    box-shadow: 0 6px 12px rgba(126, 219, 220, 0.3);
    transform: scale(1.1);
}

.day-button:hover {
    background: linear-gradient(145deg, #3b3b3e, #2c2c2e);
    transform: scale(1.05);
}

.day-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(126, 219, 220, 0.5); /* Weich abgestimmter Teal */
}


.day-button:active {
    background: linear-gradient(145deg, #5abbbd, #98cde5);
    transform: scale(0.98);
}


#apply-timeslot, #generate-new-slots {
    margin-top: 20px;
}


/* appointment type service provider*/

#serviceProviders {
    height: auto;
    min-height: 100px;
    max-height: 200px;
    resize: vertical;
}

#serviceProviders option {
    padding: 10px;
    font-size: 1rem;
}

/* Optional: Stil für hover und Auswahl */
#serviceProviders option:hover {
    background-color: #f0f0f0;
}

#serviceProviders:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

#serviceProviders {
    display: none; /* Versteckt das ursprüngliche Select-Feld */
}


/* Profile pictures*/

.profile-text-icon {
    font-size: 18px;
    font-weight: 600;
    color: #34495e; /* Sehr seriöses Blau/Grau */
    display: flex;
    align-items: center;
    margin-top: 5px; /* Verschiebe nach unten */
    margin-left: 5px; /* Verschiebe nach rechts */
}

.profile-text-icon i {
    margin-right: 8px; /* Abstand zwischen Icon und Initialen */
    font-size: 20px; /* Größeres Icon */
}

#profile-initials {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
}


/* CSS für die Apple-Style Meldung */
.apple-create-timeslot-message {
    background: #f5f5f7;
    border: 1px solid #d1d1d6;
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    font-size: 14px;
    color: #1c1c1e;
    margin-top: 10px;
}


/* CSP SETTINGS */

#appointmentTypeModalDialog {
    max-width: 90%;
    width: 1500px;
}

#appointmentTypeModalContent {
    background: #fefefe;
}

#appointmentTypeListContainer {
    max-width: 90%;
    margin-left: 15px;
}

#separator_edit_event {
    border-top: 1px solid #e0e0e0;
}

/* Basis-Stile für die Farbauswahl */
.color-option {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    margin-right: 12px;
    cursor: pointer;
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.6),
    0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s;
}

.color-option:hover,
.color-option.active {
    transform: scale(1.15);
    box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.9),
    0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Hintergrundfarben */
.color-option--red {
    background-color: #FF3B30;
}

.color-option--orange {
    background-color: #FF9500;
}

.color-option--yellow {
    background-color: #FFCC00;
}

.color-option--green {
    background-color: #34C759;
}

.color-option--blue {
    background-color: #007AFF;
}

.color-option--purple {
    background-color: #5856D6;
}


.delete-slot-btn {
    right: 0;
    top: 20px;
    border: none;
    background: none;
    padding: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}


.checkmark-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.checkmark {
    width: 80px;
    height: 80px;
    stroke-width: 2;
    stroke: #28a745;
    stroke-miterlimit: 10;
    fill: none;
}

.checkmark-circle {
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: drawCircle 1s ease-in-out forwards;
}

.checkmark-check {
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: drawCheck 0.5s 0.6s ease-in-out forwards;
}

@keyframes drawCircle {
    0% {
        stroke-dashoffset: 166;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes drawCheck {
    0% {
        stroke-dashoffset: 48;
    }
    100% {
        stroke-dashoffset: 0;
    }
}


.resetForm {
    display: none !important;
}

.switchToLogin {
    display: none !important;
}

#feedbackMessage {
    display: none;
}

#praxisCodeDisplay {
    font-size: 1.2em !important;
    border-radius: 8px !important;
    padding: 10px !important;
    text-align: center !important;
}

#copyPracticeCodeButton {
    border-radius: 8px !important;
    padding: 10px 20px !important;
}

#linkSlugDisplay {
    font-size: 1.2em !important;
    border-radius: 8px !important;
    padding: 10px !important;
    text-align: center !important;
}

#copyLinkSlugButton {
    border-radius: 8px !important;
    padding: 10px 20px !important;
}

.otp-inputs {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 20px 0;
}

.otp-digit {
  width: 50px;
  height: 60px;
  font-size: 2em;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.otp-digit:focus {
  border-color: #007aff; /* Apple-typisches Blau */
  box-shadow: 0 0 5px rgba(0, 122, 255, 0.5);
  outline: none;
}







#otpForm{
    display: none;
}


.password-container {
    position: relative;
}

.password-container input {
    width: 100%;
    padding-right: 40px; /* Platz für das Auge */
}

.password-container .toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}





/* Feedback-Message Register */

.password-wrapper {
  position: relative; /* Referenzpunkt für absolute Positionierung */
}

.feedback_message_register {
  position: absolute;
  top: 0;                /* vertikale Zentrierung */
  right: -380px;           /* Abstand von rechts – hier ggf. anpassen */
  transform: translateY(-50%);
  padding: 10px;
  display: none;           /* Standardmäßig versteckt */
  z-index: 10;             /* Damit es über anderen Elementen liegt */
}





/* iOS-inspirierte, dunkle & kompakte Modal-Styles */
#timeslotsModal .modal-dialog {
  max-width: 1000px !important;
  margin: auto !important;
}

#timeslotsModal .modal-content {
  background: #1C1C1E !important;
  border-radius: 16px !important;
  border: none !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6) !important;
  overflow: hidden !important;
}

#timeslotsModal .modal-header,
#timeslotsModal .modal-footer {
  background: #1C1C1E !important;
  padding: 16px 20px !important;
}

#timeslotsModal .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

#timeslotsModal .modal-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  color: var(--primary-color);
  text-align: center !important;
  width: 100% !important;
  margin: 0 !important;
}

#timeslotsModal .modal-body {
  padding: 20px !important;
  background: #1C1C1E !important;
}

/* Elegante, dunkle Inputs im Apple-Stil */
#timeslotsModal .form-control {
  background-color: #2C2C2E !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #fff !important;
  border-radius: 10px !important;
  padding: 10px 15px !important;
  font-size: 1rem !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}

#timeslotsModal .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}




/* Optional: Abstände/Pauser zwischen Elementen */
#timeslotsModal .pause-element {
  margin: 12px 0 !important;
}

/* Kompaktes Layout für den Formular-Inhalt */
#timeslotsModal .modal-body > * {
  margin-bottom: 12px !important;
}



/* Beispiel: Zusätzliche Styles für die Tageskarten */
#daysOfWeek .col-md-6 {
  background: #2C2C2E !important;
  border-radius: 12px !important;
  padding: 16px !important;
}

/* Reduziere evtl. Abstände in Break-Elementen */
#daysOfWeek .btn-sm {
  padding: 0.25rem 0.5rem !important;
}

/* Optional: Responsives Grid verbessern */
@media (max-width: 768px) {
  #daysOfWeek .col-md-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* -- Container für die Pause-Elemente -- */
.break-item {
  background: #2C2C2E; /* Dunkler Hintergrund (ähnlich iOS Dark Mode) */
  border: 1px solid rgba(255, 255, 255, 0.1); /* Dezente, helle Umrandung */
  border-radius: 12px; /* Apple-like Ecken */
  display: flex;
  align-items: center;
  margin-bottom: 8px; /* Leichter Abstand zur nächsten Pause */
}

/* -- Label für "Pause:" -- */
.break-label {
  color: #ff3b30; /* iOS-typischer "destructive" Rotton, optional */
  font-weight: 600;
}

/* -- Inputs innerhalb der Break-Box -- */
.break-item .form-control {
  background-color: #3A3A3C; /* Abgesetzter dunkler Hintergrund */
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.875rem; /* Etwas kleiner, kompakter */
}

.break-item .form-control:focus {
  border-color: #007aff; /* Typische iOS-Link-Farbe */
  box-shadow: 0 0 5px rgba(0, 122, 255, 0.3);
}

/* -- Button-Stil für Entfernen -- */
.break-item .btn-outline-danger {
  color: #ff3b30;
  border-color: #ff3b30;
  transition: all 0.2s ease;
}

.break-item .btn-outline-danger:hover {
  background-color: #ff3b30;
  color: #fff;
}


.fc-day-today {
    background-color: rgba(230, 240, 250, 0.4) !important; /* Hauch von Pastell-Blau */
}

/* Standard-Hover-Farbe ändern, damit der Text gut lesbar bleibt */
.fc-list-event:hover td {
    background: rgba(200, 225, 250, 0.8) !important; /* Kräftigeres, aber weiches Pastell-Blau */
    color: #1d1d1f !important;
    font-weight: 600;
    transition: background 0.3s ease-in-out;
}

#tipMessage{
    color: #fff;
}

.fc-list-event:hover .fc-list-event-title a {
    color: #1d1d1f !important; /* Apple-typisches Dunkelgrau für beste Lesbarkeit */
    font-weight: 600; /* Optional: leicht fettgedruckt für bessere Sichtbarkeit */
    transition: color 0.2s ease-in-out;
}











/* Modernes Patienten Info-Kärtchen im Apple-Stil nur für das editEventModal */
#editEventModal .patient-info-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin-top: 1rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

#editEventModal .patient-info-card header h4 {
  margin: 0;
  font-size: 1.2rem;
  color: #333;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 0.5rem;
}

#editEventModal .patient-info-card .info {
  margin-top: 1rem;
}

#editEventModal .patient-info-card .info-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}

#editEventModal .patient-info-card .info-item:last-child {
  border-bottom: none;
}

#editEventModal .patient-info-card .info-label {
  color: #666;
  font-size: 0.9rem;
}

#editEventModal .patient-info-card .info-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: #000;
}











/* Container: Fixiert an der rechten Seite, vertikal zentriert */
  #feedback-widget {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 10000;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  }
  /* Vertikaler Tab im modernen Teal-Ton */
  #feedback-tab {
    width: 40px;
    height: 120px;
    background: linear-gradient(145deg, #20b2aa, #008080);
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: -2px 2px 5px rgba(0,0,0,0.15);
    transition: background 0.2s ease;
  }
  #feedback-tab:hover {
    background: linear-gradient(145deg, #008080, #20b2aa);
  }
  #feedback-tab span {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    writing-mode: vertical-rl;
    text-orientation: mixed;
  }
  /* Vollbild-Modal */
  #feedback-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    z-index: 10001;
  }
  .feedback-modal-content {
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    padding: 30px 40px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: fadeIn 0.3s ease-out;
  }
  @keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
  }
  #feedback-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    font-weight: 600;
    cursor: pointer;
    color: #999;
    transition: color 0.2s ease;
  }
  #feedback-close:hover {
    color: #666;
  }
  .feedback-modal-content h2 {
    margin-top: 0;
    color: #333;
    font-weight: 600;
  }
  .feedback-modal-content p {
    color: #555;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 20px;
  }
  #feedback-form textarea {
    width: 100%;
    height: 150px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px;
    font-size: 14px;
    resize: vertical;
    margin-bottom: 15px;
  }
  #feedback-form button {
    background-color: #20b2aa;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  #feedback-form button:hover {
    background-color: #008080;
  }


  .sticky-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
  }
  .sticky-container a {
    margin-left: 10px; /* Abstand zwischen den Buttons */
  }




  /* Termine blocken switch */
/* Wrapper zentriert alles optional */
.toggle-wrapper {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 1rem 0;
}

/* Die "Karte" für Switch & Label */
.toggle-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.75rem 1.2rem;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Der Label-Text */
.toggle-label {
  font-size: 1rem;
  font-weight: 600;
  color: #20b2aa;
  margin: 0;
  white-space: nowrap;
  transition: color 0.4s ease;
  display: flex;
  align-items: center;
}

/* Das Icon links neben dem Text */
.status-icon {
  display: inline-block;
  margin-right: 6px;
  transition: transform 0.4s ease, opacity 0.4s ease;
  transform: scale(1);
  opacity: 0.8;
}

/* Aktiv-Zustand: Icon-Animation */
.switch input:checked ~ .toggle-label .status-icon {
  transform: scale(1.1) rotate(2deg);
  opacity: 1;
}

/* Aktiv-Zustand: Farbe leicht dunkler */
.switch input:checked ~ .toggle-label {
  color: #159089;
}

/* Switch-Grundlayout */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
}

/* Verstecke Checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

/* Die Schiene */
.slider {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border-radius: 34px;
  transition: all 0.4s ease;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

/* Der Knopf */
.slider:before {
  content: "";
  position: absolute;
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background: linear-gradient(145deg, #ffffffcc, #e0f7f6);
  border-radius: 50%;
  transition: all 0.4s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15),
              inset 0 0 4px rgba(255, 255, 255, 0.4);
}

/* Aktiv-Zustand: Farben & Pulse-Effekt */
.switch input:checked + .slider {
  background: rgba(32, 178, 170, 0.25);
  border-color: rgba(32, 178, 170, 0.4);
  box-shadow: inset 0 0 6px rgba(32, 178, 170, 0.25);
}

.switch input:checked + .slider:before {
  transform: translateX(22px);
  background: #20b2aa;
  box-shadow: 0 2px 8px rgba(32, 178, 170, 0.4);
  animation: pulseGlow 0.6s ease;
}

/* Glow-Effekt beim Aktivieren */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15),
                0 0 0 rgba(32, 178, 170, 0.0);
  }
  50% {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2),
                0 0 10px rgba(32, 178, 170, 0.4);
  }
  100% {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15),
                0 0 0 rgba(32, 178, 170, 0.0);
  }
}

.status-text {
  display: inline-block;
  transition: opacity 0.3s ease;
    color: #fff;
}

.fade-out {
  opacity: 0;
  transform: translateY(5px);
}

.bounce-in {
  animation: bounceIn 0.4s ease-out;
}

@keyframes bounceIn {
  0% {
    transform: scale(0.9);
    opacity: 0.5;
  }
  60% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

.blurred-backdrop {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}


/* Vorschau-Link: übernimmt den Stil der toggle-card */
.preview-link {
  text-decoration: none; /* Keine Unterstreichung */
  color: inherit; /* Gleiche Textfarbe */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover-Effekt für den Link, um Interaktivität zu signalisieren */
.preview-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.toggle-wrapper {
  display: flex;
  gap: 1rem; /* Passt den Abstand an, z. B. 1rem */
  align-items: center; /* Optional: vertikale Ausrichtung */
}

.status-icon i {
  width: 24px !important;
  height: 24px !important;
}


.notification-quote footer {
  text-align: right;
  font-weight: bold;
  margin-top: 0.5rem;
  font-style: normal;
}













/* ===============================
   Responsive Layout Anpassungen für Management-Seite
   =============================== */

/* Für Tablets und kleinere Desktops (max-width: 768px) */
@media only screen and (max-width: 768px) {
  /* Sidebar ausblenden oder fixieren (falls ein Off-Canvas-Menü gewünscht ist) */
  .page-sidebar {
    display: none;
  }

  /* Den Container anpassen, damit er die volle Breite nutzt */
  .page-container {
    margin-left: 0;
    padding: 0 10px;
  }

  /* Inhaltspadding reduzieren */
  .page-content {
    padding: 10px 5px;
  }

  /* Navbar anpassen: Elemente zentrieren und ggf. stapeln */
  .navbar {
    flex-wrap: wrap;
    justify-content: center;
  }
  .navbar-nav {
    flex-direction: column;
    align-items: center;
  }

  /* Toggle-Wrapper und andere Elemente in der Kopfzeile verkleinern */
  .toggle-wrapper {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  /* Modale Dialoge kleiner machen */
  .modal-dialog {
    max-width: 95%;
    margin: 10px auto;
  }
  .modal-header, .modal-footer {
    padding: 12px;
  }
  .modal-title {
    font-size: 1.5rem;
  }
  .modal-body {
    padding: 1rem;
  }

  /* Karten und Formulare anpassen */
  .card {
    margin: 10px 0;
  }
  .card-body {
    padding: 15px;
  }
}

/* Für Smartphones (max-width: 480px) */
@media only screen and (max-width: 480px) {
  body {
    font-size: 13px;
    padding: 0 5px;
  }

  /* Vollflächige Nutzung des Containers */
  .page-container {
    padding: 0 5px;
  }


  .page-content {
    padding: 5px;
  }

  /* Navbar-Elemente noch kompakter gestalten */
  .navbar-nav {
    font-size: 0.9rem;
    flex-direction: column;
    align-items: center;
  }

  /* Toggle-Wrapper und verwandte Elemente noch kompakter */
  .toggle-wrapper {
    flex-direction: column;
    gap: 8px;
  }

  /* Modale Dialoge weiter verkleinern */
  .modal-dialog {
    max-width: 95%;
  }
  .modal-title {
    font-size: 1.3rem;
  }
  .modal-header, .modal-footer {
    padding: 10px;
  }
  .modal-body {
    padding: 0.75rem;
  }

  /* Reduziere Padding in Karten und Formularen */
  .card-body {
    padding: 10px;
  }
}

@media only screen and (max-width: 768px) {
  .status-text {
    display: none;
  }
    .header-title {
    display: none;
  }
}

/* Responsive Anpassungen für mobile Endgeräte */
@media (max-width: 767px) {
  /* Sidebar: Auf mobilen Geräten wird sie als Blockelement dargestellt */
  .page-sidebar {
    width: 100%;
    position: relative;
    padding: 10px;
    text-align: center;
  }

  /* Header: Volle Breite und angepasste Abstände */
  .page-header {
    width: 100%;
    margin: 0;
    padding: 10px;
  }

  /* Inhalt: Keine linke Margin mehr und mehr Polsterung */
  .page-content {
    margin-left: 0;
    padding: 10px;
  }

  /* Karten und Container: Abstand optimieren */
  .card {
    margin: 10px 0;
  }

  /* Bilder und Medien: Fluid für mobile Ansichten */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Allgemeine Schriftgröße erhöhen für bessere Lesbarkeit */
  body {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  /* Kalender anpassen */
  #calendar {
    margin-top: 20vh;  /* 20% der Viewport-Höhe als Abstand oben */
    height: 70vh;      /* Kalenderhöhe entspricht 60% der Viewport-Höhe */
      max-height: none !important;
  overflow-y: visible !important;

  }

  /* Gesamtanordnung des Header-Toolbars anpassen */
  .fc-header-toolbar {
    display: flex;
    flex-direction: column;
    align-items: center;
      gap: 10px; /* Gleichmäßiger vertikaler Abstand zwischen den Zeilen */
  }
  /* Allgemeine Button-Anpassungen in der Toolbar */
  .fc-header-toolbar .fc-button {
    font-size: 0.8rem;   /* Kleinere Schriftgröße */
    padding: 4px 8px;    /* Weniger Padding für kompaktere Buttons */
    min-height: 30px;    /* Mindesthöhe, um den Button optisch kleiner zu halten */
    margin: 2px;         /* Kleiner Abstand zwischen den Buttons */
  }

  /* Spezielle Einstellungen für Vor-/Zurück- und Heute-Buttons */
  .fc-prev-button,
  .fc-next-button,
  .fc-today-button {
    font-size: 0.8rem;  /* Kleinere Schriftgröße */
    padding: 4px 8px;   /* Weniger Innenabstand */
    margin: 2px;        /* Kleiner Abstand zwischen den Buttons */
  }

  /* Abstand der Button-Gruppe zur Titelanzeige */
  .fc-header-toolbar .fc-button-group {
    margin-bottom: 10px;
  }

  /* Den Titel (aktueller Monat) verkleinern */
  .fc-toolbar-title {
    font-size: 1rem;
    margin: 0px;
  }

    .header-wrapper {
      display: none;
    }
    .toggle-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px; /* Abstand zwischen den Elementen, anpassen nach Bedarf */
}
.toggle-wrapper .toggle-card {
  font-size: 0.9rem;      /* Reduziert die Schriftgröße */
  padding: 5px 8px;       /* Verringert das Innenabstand */
  margin: 0;              /* Entfernt überflüssigen Außenabstand */
}

/* Optional: Auch die Icons kleiner machen */
.toggle-wrapper .status-icon i {
  font-size: 1rem;
}

/* Falls du die Links in der Vorschau ebenfalls anpassen möchtest */
.toggle-wrapper a.preview-link {
  font-size: 0.9rem;
  padding: 5px 8px;
}
#headerNav {
  margin-left: auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

#headerNav .navbar-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px; /* Abstand zwischen den Elementen */
}
 #feedback-widget {
    top: 35%;
  }

 #feedback-tab {
    width: 33px;
    height: 80px;
     font-size: 0.8rem;  /* Kleinere Schriftgröße */
  }
.page-footer {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 5px 10px !important;
}

.page-footer a {
  padding: 5px 10px !important;
  margin: 0 !important;
  font-size: 0.9rem !important;
  text-decoration: none !important;
  color: inherit !important;
  display: inline-block !important;
}

.dropdown-menu.notif-drop-menu {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 90% !important; /* Nimmt 90% der Bildschirmbreite ein */
    max-width: 350px; /* Maximale Breite */
    max-height: 70vh; /* Maximale Höhe (80% der Bildschirmhöhe) */
    overflow-y: auto; /* Scrollbar bei Bedarf */
    margin: 0 !important;
    right: auto !important; /* Überschreibt eventuelles right-Alignment */
  }

  /* Optionaler dunkler Hintergrund für bessere Sichtbarkeit */
  .dropdown-menu.notif-drop-menu::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }
.fc-event-title {
  font-size: 0.8rem !important; /* Passe den Wert nach Bedarf an */
}

}


.seal-div{

    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
    padding: 6px 10px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);

}

.seal-img{
    max-width: 100px;
}

textarea.form-control {
  min-height: 6rem; /* ca. 128px */
  /* optional: max-height: 20rem; */
}





:root {
  /* Apple-Red – das offizielle Warn-Rot von iOS/macOS */
  --apple-red: #FF3B30;
  /* Apple-Red als RGB, um es für RGBA-Hintergründe nutzen zu können */
  --apple-red-rgb: 255, 59, 48;

  /* Text auf roten Hintergründen */
  --text-on-primary: #FFFFFF;
}

/* Wrapper als dezentes Pill-Background */
.fc-apple-event {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 8px;
}

/* Zeit und Titel in kontrastreichem Weiß */
.fc-apple-event-time,
.fc-apple-event-title {
  color: var(--text-on-primary);
}

/* Etwas fetter, damit es besser lesbar ist */
.fc-apple-event-time {
  font-size: 0.75rem;
  font-weight: 600;
}

.fc-apple-event-title {
  font-size: 0.8rem;
  line-height: 1.2;
}

/* Warn-Icon perfekt in Apple-Red */
.fc-unassigned-icon svg {
  stroke: var(--apple-red);
  fill: none;
}


/* 1) Clipping für die TimeGrid‐Events (damit nichts hinausragt) */
.fc-timegrid-event-harness,
.fc-timegrid-event {
  overflow: visible; /* wieder sichtbar, wir clippen nur den Inneren */
}

/* 2) Unsere Apple-Pill behält Flex, aber clippt intern */
.fc-apple-event {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 8px;

  /* wichtig: nur das Innerste wird geclippt */
  overflow: hidden;
}

/* 3) Zeit immer komplett anzeigen */
.fc-apple-event-time {
  flex-shrink: 0;
  white-space: nowrap;
}

/* 4) Titel wird getrimmt, wenn er zu lang ist */
.fc-apple-event-title {
  flex: 1 1 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


:root {
  --apple-red:       #FF3B30;
  --apple-red-rgb: 255,59,48;
  --text-on-red:    #FFFFFF;
}

/* Hinweis-Box */
.apple-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 4px 8px;
  background: rgba(var(--apple-red-rgb), 0.1);
  color: var(--apple-red);
  font-size: 0.875rem;
  border-radius: 8px;
  font-weight: 500;
}

/* Icon und Text */
.apple-note svg {
  flex-shrink: 0;
  stroke: var(--apple-red);
}

.apple-note span {
  line-height: 1.2;
}

/* Helfer-Klasse zum Verstecken */
.hidden {
  display: none !important;
}

/* Basis */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  margin-bottom: 1rem;
}

/* Einzelne Filter-Container */
.filter-item {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Fokus und Hover */
.filter-item:focus-within,
.filter-item:hover {
  border-color: #20b2aa;        /* Primärfarbe */
  box-shadow: 0 2px 8px rgba(32,178,170,0.3);
}

/* Inputs und Selects */
.filter-item input,
.filter-item select {
  border: none;
  outline: none;
  font-size: 0.95rem;
  background: transparent;
  width: 100%;
}

#search-text {
  padding-left: 2rem;
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Ccircle%20cx='11'%20cy='11'%20r='7'%20stroke='%23666'%20stroke-width='2'%20fill='none'/%3E%3Cline%20x1='16.65'%20y1='16.65'%20x2='22'%20y2='22'%20stroke='%23666'%20stroke-width='2'/%3E%3C/svg%3E")
    no-repeat 0.5rem center;
  background-size: 1rem;
}


/* Datumstrenner */
.date-separator {
  margin: 0 0.3rem;
  color: #666;
}

/* Clear-Button */
#clear-filters {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  font-size: 0.9rem;
  transition: color 0.2s;
}
#clear-filters:hover {
  color: #20b2aa;
}
