@import url('https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap');

/* Allgemeine Einstellungen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Verhindert, dass Padding die Blockhöhe verändert */
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    background-color: #f9f9f9;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
}

input,
textarea,
button,
select,
a {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

input[type="text"],
input[type="password"] {
    border: none;
    outline: none;
    flex-grow: 1;
}

a:focus,
a:visited,
a:active {
    outline: none;
}

a {
    color: #783487;
    text-decoration: none;
}

a:hover {
    /*color: #9d44b0;*/
    text-decoration: none;
}

button,
input[type="submit"] {
    background-color: #783487;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

button:hover,
input[type="submit"]:hover {
    background-color: #9d44b0;
}

textarea {
    font-family: sans-serif;
}

main {
    padding: 40px;
    padding-top: 120px;
    text-align: center;
}

@media (max-width: 750px) {
    main {
        padding: 20px;
        padding-top: 100px;
    }
}

@media (max-height: 700px) {
    main {
        padding: 20px;
        padding-top: 60px;
    }
}


/* Notification (Erfolg-/Fehlermeldungen) */
.notification-container {
    display: flex;
    justify-content: center;
    /* Zentriert die Nachricht horizontal */
    align-items: center;
    /* Zentriert die Nachricht vertikal */
    z-index: 9999;
    position: absolute;
    top: 5px;
    left: 50%;
    /* Setzt den linken Rand auf 50% */
    transform: translateX(-50%);
    /* Verschiebt den Container um 50% seiner Breite nach links */
    width: max-content;
    /* Der Container wächst nur so weit wie der Text */
    max-width: 100%;
}



.notification {
    padding: 2px;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    position: relative;
    animation: bounceIn 2.5s ease-in-out 0.5s forwards;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    font-size: 12pt;
    top: 2px;
    opacity: 0;
    transform: translateY(-34px);
}

@keyframes bounceIn {
    0% {
        transform: translateY(-34px);
        opacity: 0;
    }
    19% {
        transform: translateY(0px);
        opacity: 1;
    }
    32% {
        transform: translateY(-17px);
    }
    46% {
        transform: translateY(0px);
    }
    56% {
        transform: translateY(-9px);
    }
    65% {
        transform: translateY(0px);
    }
    72% {
        transform: translateY(-5px);
    }
    79% {÷
        transform: translateY(0px);
    }
    84% {
        transform: translateY(-3px);
    }
    88% {
        transform: translateY(0px);
    }
    92% {
        transform: translateY(-2px);
    }
    95% {
        transform: translateY(0px);
    }
    98% {
        transform: translateY(-1px);
    }
    100% {
        transform: translateY(0px);
        opacity: 1;
    }           
}

.success {
    background-color: green;  
    /*animation: fadeOut 25s 0.5s forwards;*/        
}

.error {
    background-color: red;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* Allgemeine Header-Einstellungen */
.scroll-container {
    position: fixed;
    width: 100%;
    /* Nimmt die volle Breite ein */
    z-index: 1000;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    /* Hintergrund halbtransparent */
    backdrop-filter: blur(5px);
    /* Verwischungseffekt */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-height: 750px) {
    header {
        padding: 5px;
    }

    .notification-container {
        top: 0px;
    }

    .notification {
        font-size: 8pt;
        border-radius: 3px;
    }

}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 30px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 24px;
    margin: 0;
    padding: 0;
}

/* Für kleine Bildschirme (maximale Breite 600px) */
@media only screen and (max-width: 600px) {

    .logo h1,
    .logo span {
        display: none;
        /* Überschrift ausblenden */
    }

    .logo img {
        width: 30px;
        /* Größe des Logos anpassen, falls nötig */
        height: auto;
    }
}


/* Menü-Links */
nav .menu-links {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
}

nav .menu-links a {
    margin-left: 10px;
    margin-right: 10px;
    font-weight: bold;
    text-decoration: none;
    color: #783487;
}

nav .menu-links a:hover {
    color: #9d44b0;
}

.menu-links a.active {
    text-decoration: underline;
}

/* Hamburger Menü (für kleine Bildschirme) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #783487;
    border-radius: 3px;
}

/* Nutzerbereich */
.user-area {
    display: flex;
    align-items: center;
    background-color: #f0f0f0;
    padding: 5px 10px;
    margin-left: 0;
    /* Entfernt zusätzliches margin-left */
    padding-left: 5px;
    /* Verringert das padding zwischen dem grauen Hintergrund und dem Eulensymbol */
    border-radius: 5px;
    /* Optional: Abgerundete Ecken für die User-Area */
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    /* Optionaler Schatten für den fixierten Header */
}

.user-area img {
    height: 20px;
    margin-right: 10px;
}

.user-area a {
    display: flex;
    align-items: center;
    margin-left: 15px;
    text-decoration: none;
    color: #000;
}

.user-area a img {
    height: 20px;
    margin-right: 5px;
}

.user-area a span {
    display: inline-flex;
    align-items: center;
}

/* Event Dropdown */
.event-dropdown {
    font-size: 16px;
    font-weight: bold;
    color: #783487;
    background-color: transparent;
    border: none;
    padding: 5px 10px 5px 27px;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns%3D%22http%3A//www.w3.org/2000/svg%22 width%3D%2210%22 height%3D%2210%22 viewBox%3D%220 0 10 10%22%3E%3Cpolygon points%3D%225,6 10,0 0,0%22 fill%3D%22%23783487%22/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: left 5px top 8px;
    background-size: 15px;
}

@media (max-width: 350px) {
    .event-dropdown {
        font-size: 12px;
    }
}

.event-dropdown:hover {
    color: #9d44b0;
}

/* Für kleine Bildschirme (maximale Breite 1000px) */
@media (max-width: 1000px) {
    .menu-toggle {
        display: flex;
    }

    nav .menu-links {
        display: none;
        z-index: 99999;
        /* Höherer z-index, damit das Menü über anderen Elementen liegt */
        flex-direction: column;
        background-color: #fff;
        position: absolute;
        top: 60px;
        right: 20px;
        width: 100%;
        max-width: 200px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        padding: 0;
    }

    nav .menu-links.active {
        display: flex;
        box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    }

    nav .menu-links a {
        padding: 10px;
        border-bottom: 1px solid #ccc;
        width: 100%;
        text-align: left;
    }

    nav .menu-links a:last-child {
        border-bottom: none;
    }

    /* Nutzerbereich im Dropdown-Menü */
    nav .menu-links .user-area {
        flex-direction: column;
        align-items: flex-start;
        background-color: #f0f0f0;
        width: 100%;
        padding: 0px;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
        border-top-right-radius: 0px;
        border-top-left-radius: 0px;
        box-shadow: none;
    }

    nav .menu-links .user-area a {
        margin: 0;
        text-align: left;
    }
}

@media (max-height:750px) {

    nav .menu-links {
        top: 45px;
    }
}

@media (max-width:350px) {

    nav .menu-links {
        right: 5px;
    }
}

/* Stil für Icons */
.menu-links img,
.user-area img {
    height: 20px;
}

/* Divider */
.divider {
    border-left: 1px solid #ccc;
    height: 20px;
    margin-right: 10px;
}

/* Logo-Container */
.logo-container {
    position: relative;
    /* Ermöglicht das Positionieren des roten Punktes relativ zum Container */
    display: inline-block;
    /* Behält die Größe des Logos bei */
    z-index: 1;
    /* Sicherstellen, dass die Positionierung korrekt ist */
}

/* Pulsierender roter Punkt */
.red-dot {
    position: absolute;
    top: 8px;
    /* Positioniere den Punkt leicht über dem Logo */
    right: 3px;
    /* Rechts über dem Logo */
    width: 15px;
    height: 15px;
    background-color: #e3a7e5;
    border-radius: 50%;
    z-index: 8000;
    /* Sicherstellen, dass der Punkt über dem Logo liegt */
    animation: pulse 1.5s infinite;
    /* Pulsierende Animation */
    will-change: transform, opacity;
    /* Hinzufügen für eine bessere Performance und Kompatibilität */
}

.green-dot {
    position: absolute;
    top: 8px;
    left: 0px;
    /* Links über dem Logo, statt rechts */
    width: 15px;
    height: 15px;
    background-color: #2ecc71;
    /* Grün */
    border-radius: 50%;
    z-index: 8000;
    animation: pulse 1.5s infinite;
    will-change: transform, opacity;
}

/* Pulsierende Animation */
@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }

    100% {
        transform: scale(0.9);
        opacity: 1;
    }
}

/* Cross-Browser-Kompatibilität */
@-webkit-keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }

    100% {
        transform: scale(0.9);
        opacity: 1;
    }
}

@-moz-keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }

    100% {
        transform: scale(0.9);
        opacity: 1;
    }
}

@-o-keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }

    100% {
        transform: scale(0.9);
        opacity: 1;
    }
}

/* Styling für das Dropdown-Menü */
.notification-menu {
    position: absolute;
    top: 40px;
    /* Anpassen je nach Ihrer Header-Höhe */
    left: 0px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 9000;
    font-size: 10pt;
}

.notification-menu a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

.notification-menu a:last-child {
    border-bottom: none;
}

.notification-menu a:hover {
    background-color: #f5f5f5;
}

/* Logo-Container muss relative sein für absolute Positionierung der Punkte */
.logo-container {
    position: relative;
    display: inline-block;
}










/* Registrierung */
.header-reg {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    /* Hintergrund halbtransparent */
    backdrop-filter: blur(5px);
    /* Verwischungseffekt */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-height: 750px) {
    .header-reg {
        padding: 5px;
    }

    .step-label {
        display: none;
    }
}

@media (min-height: 751px) {
    .header-reg {
        padding: 20px;
    }

    .step-label {
        display: block;
    }
}

.logo-reg {
    display: flex;
    align-items: center;
}

.logo-reg img {
    width: 30px;
    margin-right: 10px;
}

.logo-reg h1 {
    font-size: 24px;
    margin: 0;
}

@media only screen and (max-width: 740px) {

    .logo-reg h1,
    .logo-reg span {
        display: none;
        /* Überschrift und "beta" ausblenden */
    }

    .logo-reg img {
        width: 30px;
        /* Größe des Logos anpassen, falls nötig */
        height: auto;
    }

    .reg-links span {
        display: none;
    }

    .progress-container {
        padding-right: 20px;
    }
}


.logo-con {
    display: flex;
    align-items: center;
}

.logo-con img {
    width: 30px;
    margin-right: 10px;
}

.logo-con h1 {
    font-size: 24px;
    margin: 0;
}





.reg-links a,
.header-right a {
    font-weight: bold;
    display: flex;
    align-items: center;
    /* Das Icon und der Text werden ebenfalls vertikal ausgerichtet */
}

.reg-links {
    display: flex;
    align-items: center;
    /* Zentriert den Inhalt vertikal */
}

.progress-container {
    display: flex;
    justify-content: center;
}

@media only screen and (min-width: 741px) {
    .progress-container {
        padding-right: 57px;
    }
}

.progress-bar-reg {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 10px;
    height: 10px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Gleichmäßige Verteilung der Schritte */
    flex-grow: 1;
}

.progress-step {
    text-align: center;
    width: 60px;
    /* Feste Breite für Konsistenz */
    flex-grow: 1;
    /* Schritte gleichmäßig verteilen */
    flex-shrink: 0;
    scroll-snap-align: start;
    /* Positioniert jeden Schritt am Startpunkt des Containers */
}

.step-button {
    width: 30px;
    height: 30px;
    display: inline-block;
    border-radius: 50%;
    line-height: 30px;
    text-align: center;
    background-color: #ddd;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
}

@media (min-width: 450px) {
    .step-label {
        font-size: 12px;
    }
}

/* Stil für Bildschirme bis zu 450px Breite */
@media (max-width: 450px) {
    .progress-step {
        width: 50px;
        /* Feste Breite für Konsistenz */
    }

    .step-label {
        font-size: 10px;
    }

}

@media (max-width: 380px) {
    .progress-step {
        width: 40px;
        /* Feste Breite für Konsistenz */
    }

    .step-label {
        display: none;
    }

}

.step-button.active {
    background-color: #783487;
    /* Lila Farbcode aus style.css */
}

.step-button.disabled {
    background-color: #ccc;
    cursor: default;
}

.step-label {
    margin-top: 5px;
    color: #666;
    white-space: nowrap;
    /* Zeilenumbruch verhindern */
}

.progress-line {
    flex-grow: 1;
    height: 2px;
    background-color: #ddd;
    width: 5px;
}

.progress-filled {
    height: 100%;
    background-color: #783487;
    border-radius: 10px;
    text-align: center;
    color: white;
    font-size: 12px;
    padding: 0 5px;
    background-image:
        linear-gradient(to right,
            rgba(200, 110, 220, 0.0) 5%,
            rgba(200, 110, 220, 0.9) 95%);
    background-repeat: no-repeat;
    background-size: cover;
}

.parent-container {
    display: flex;
    justify-content: center;
}



/* Halbtransparentes Overlay */
#reg-welcome {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.reg-welcome-description-container {
    background-color: white;
    padding: 10px 20px;
    margin: 0px auto;
    border-radius: 10px;
    text-align: center;
    max-width: 300px;
    width: 90%;
    box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: slideIn2 0.2s ease-out 0s forwards;
}

.reg-welcome-profile-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 10px;
}

.reg-welcome-profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #aaa;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    filter: brightness(0.7);
}

.reg-welcome-profile-name {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    z-index: 1;
    width: 100%;
    text-align: center;
    word-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    padding: 0 5px;
    box-sizing: border-box;
}

.reg-arriving-logo {
    margin-bottom: 10px;
    width: 80px;
    opacity: 0;
    animation: slideInFromTopLeft 1s cubic-bezier(0, 0, 0.2, 1) forwards;
    /* Füge die Animation hinzu */
}

.reg-staying-logo {
    position: relative;
    top: 0px;
    margin-bottom: 20px;
    width: 80px;
    z-index:501;

}

.reg-staying-hr {
    position: relative;
    top: 125px;
    height: 10px;
    border-radius: 5px;
    background-color: #eee;
    border: 0;
    z-index:50;
}

/* Definiere die Keyframe-Animation */
@keyframes slideInFromTopLeft {
    0% {
        transform: translate(-100%, -100%);
        /* Startpunkt: außerhalb oben links */
        opacity: 0;
        /* Anfangszustand: unsichtbar */
    }

    100% {
        transform: translate(0, 0);
        /* Endpunkt: Originalposition */
        opacity: 1;
        /* Endzustand: sichtbar */
    }
}

.reg-hr {
    position: relative;
    top: 105px;
    height: 10px;
    border-radius: 5px;
    background-color: #eee;
    border: 0;
    opacity: 0;
    animation: slideIn2 0.1s ease-out 0.2s forwards;
}



.reg-logo {
    margin-bottom: 20px;
    width: 100px;
    opacity: 0;
    animation: slideIn2 0.1s ease-out 0.2s forwards;
}

.reg-welcome-description-head {
    font-size: 26pt;
    /* Dynamische Schriftgröße, basierend auf der Bildschirmbreite */
    font-weight: bold;
    opacity: 0;
    animation: slideIn2 0.1s ease-out 0.2s forwards;
    font-family: 'Dancing Script', cursive;
    line-height: 1.0;
}

.reg-welcome-description-top {
    font-size: 14pt;
    opacity: 0;
    animation: slideIn2 0.1s ease-out 0.2s forwards;
    margin-bottom: 10px;
}

.reg-welcome-description-bottom {
    font-size: 11pt;
    opacity: 0;
    animation: slideIn2 0.1s ease-out 0.2s forwards;
    margin-bottom: 10px;
}

.reg-welcome-description-foot {
    font-size: 10pt;
    opacity: 0;
    animation: slideIn2 0.1s ease-out 0.2s forwards;
    margin-bottom: 10px;
    color: #999;
}

.reg-button-confirm {
    margin: 10px 5px;
    padding: 10px 20px;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    opacity: 0;
    animation: slideIn2 0.1s ease-out 0.2s forwards;
}

.reg-button-contribution {
    margin: 10px 5px;
    padding: 10px 20px;
    color: #666;
    background-color: #f9f9f9;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    opacity: 0;
    animation: slideIn2 0.1s ease-out 0.2s forwards;
}

.reg-button-contribution:hover {
    background-color: #eee;
}

#faq-overlay {
    display: none;
    position: fixed;
    /* Fixiert das Overlay über dem gesamten Inhalt */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    /* Grauer halbtransparenter Hintergrund */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    /* Sehr hoch, um es vor anderen Inhalten anzuzeigen */
    overflow-y: scroll;
}

.faq-container {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 20px auto;
}

.faq-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: clamp(24px, 5vw, 30pt);
    /* Dynamische Schriftgröße, basierend auf der Bildschirmbreite */
    font-weight: bold;
    font-family: 'Dancing Script', cursive;
    margin-bottom: 10px;
}


.faq-list {
    list-style-type: none;
    padding: 0;
    margin-top: 10px;
}

.faq-list li {
    margin: 5px 0;
    font-size: 14px;
    line-height: 1.2;
}

.close-faq-btn {
    background-color: #783487;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.close-faq-btn:hover {
    background-color: #5a2567;
}




.btn-logout-reset {
    margin: 20px;
    padding: 10px 20px;
    background-color: #999;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    align: center;
}

.btn-reset:hover {
    background-color: #ff2b2b;
}

.main-dash-reg {
    padding: 80px 0 0 0;
}

@media (max-height: 750px) {
    main.main-dash-reg {
        padding: 50px 0 0 0;
    }
}

@media (max-height: 750px) {
    main.main-ticketing {
        padding: 60px 0 0 0;
    }
}

/* Summary */
.summary-container {
    max-width: 700px;
    margin: 0 auto;
}

/* Fortschrittsbalken */
.progress-bar-container {
    margin-bottom: 0px;
}

/* Titel */
h1 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    padding-top: 20px;
}

/* Abschnitte für Event-, Schicht- und Registrierungsdaten */
.section {
    text-align: left;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.2);
}

.section h2 {
    font-size: 20px;
    color: #444;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: bold;
    text-align: left;
}

/* Stil für Textinhalte */
.section p {
    font-size: 16px;
    color: #555;
    margin: 5px 0;
}

.section p strong {
    color: #333;
}

/* Buttons */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-pay {
    padding: 10px;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
    width: 100%;
}

.btn-to-pay {
    padding: 10px;
    color: #ffffff;
    background-color: #783487;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
    width: 100%;
    font-size:10pt;
}

button.btn-back {
    background-color: #aaa;
    /* Grauer Hintergrund */
    color: white;
    width: 100%;
    /* Damit beide Buttons nebeneinander passen, mit 20px Abstand */
    margin-top: 10px;
}

button.btn-back:hover {
    background-color: #bbb;
    /* Roter Hintergrund beim Hover */
}


a.btn-back {
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    background-color: #aaa;
    /* Grauer Hintergrund */
    color: white;
    width: 100%;
    /* Damit beide Buttons nebeneinander passen, mit 20px Abstand */
    margin-top: 10px;
    font-size: 10pt;
}

a.btn-back:hover {
    background-color: #bbb;
    /* Roter Hintergrund beim Hover */
}


/* Checkbox container to help with vertical alignment */
.risk-checkbox-container {
    display: flex;
    align-items: center;
}

/* Custom checkbox styling */
.risk-checkbox-container input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    min-width: 25px;
    min-height: 25px;
    border: 2px solid #783487;
    border-radius: 4px;
    outline: none;
    margin-right: 10px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
}

/* Checkbox checked state */
.risk-checkbox-container input[type="checkbox"]:checked {
    background-color: #783487;
    border-color: #783487;
}

/* Checkmark style */
.risk-checkbox-container input[type="checkbox"]:checked::before {
    content: '✔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 16px;
}

/* Label styling */
.risk-checkbox-container label {
    display: flex;
    align-items: center;
    color: #555;
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
}


/* Summary Zahlmethoden */

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    background-color: #fff;
    transition: background-color 0.2s ease;
}

.payment-method:hover {
    background-color: #f5f5f5;
}

.payment-method input[type="radio"] {
    margin: 0;
}

.payment-method label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    cursor: pointer;
    width: 100%;
}

.payment-method img {
    height: 24px;
    width: auto;
    object-fit: contain;
}

.payment-provider-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.payment-provider {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    background-color: #fff;
    transition: background-color 0.2s ease;
}

.payment-provider:hover {
    background-color: #f5f5f5;
}

.payment-provider input[type="radio"] {
    margin: 0;
}

.payment-provider label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    cursor: pointer;
    width: 100%;
}

#payment-element {
    margin: 24px 0;
}

#error-message {
    color: rgb(205, 30, 36);
    text-align: center;
    margin-top: 12px;
}

.btn-pay:disabled {
    opacity: 0.5;
    cursor: default;
}







/* Profilbild My Profile */
.profile-pic-profile {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #aaa;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.profile-picture-actions {
    text-align: left;
    margin-left:10px; 
}

.btn-upload-picture, .btn-delete-picture {
    font-size:11pt;
    color: #783487;
    text-decoration: none;
    font-weight: normal !important;
    cursor: pointer;
    background: none;
    padding: 0px !important;
}

.btn-upload-picture:hover, .btn-delete-picture:hover {
    color: #9d44b0;
    background: none;
}


/* Profilbild Header */
.profile-pic-header {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50%;
    object-fit: cover;
}


/* Profile pictures in chat */
.chat-header-profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
    display: block;
}



/* Special handling for non-custom profile pictures */
.chat-header-profile-pic[src="img/eulenlogo.png"],
.conversation-profile-pic[src="img/eulenlogo.png"] {
    padding: 5px;
    background-color: #f5f5f5;
}





/* My Profile */
.css_my_profile_container {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 15px;
    background-color: #f9f9f9;
    max-width: 600px;
    margin: 20px auto;
    box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.2);
    /* Schatten rechts unten */
}

.css_my_profile_überschrift {
    font-size: 1.2em;
    font-weight: bold;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
    padding-bottom: 5px;
    text-align: left;
}

.css_my_profile_inhalt {
    display: flex;
    flex-direction: column;
}

.css_my_profile_block1,
.css_my_profile_block2,
.css_my_profile_block3 {
    flex: 1;
    margin: 0;
    text-align: left;
}

.css_my_profile_block2,
.css_my_profile_block3 {
    margin-top: 10px;
}

@media (min-width: 768px) {
    .css_my_profile_inhalt {
        flex-direction: row;
        justify-content: space-between;
    }

    .css_my_profile_block1,
    .css_my_profile_block2,
    .css_my_profile_block3 {
        flex-basis: 30%;
        margin-top: 0px;
        text-align: left;
    }
}

.css_my_profile_left {
    text-align: left;
    margin-top: 30px;
    font-size: 9pt;
    color: #999;
}

.status-link {
    text-decoration: none;
    font-weight: bold;
}

.status-pending {
    color: orange;
}

.status-accepted {
    color: green;
}

.status-rejected {
    color: red;
}








/* Login Seite */

.welcome-message {
    margin-bottom: 40px;
}

.welcome-message h2 {
    font-size: 24px;
    margin-top: 20px;
}

/* Ausblenden der Willkommensüberschrift bei niedrigen Bildschirmhöhen */
@media (max-height: 400px) {
    .welcome-message {
        display: none;
    }
}

.login-container {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    margin: 0 auto;
    max-width: 400px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.input-container {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.input-container input {
    font-size: 12pt !important;
    color: #555 !important;

    &:-webkit-autofill,
    :-webkit-autofill:focus {
        font-size: 12pt !important;
        -webkit-text-fill-color: #555 !important;
    }
}


.input-container img {
    width: 20px;
    /* Setzt die Breite der Symbole auf 20px */
    height: auto;
    /* Höhe wird automatisch angepasst, um das Seitenverhältnis zu bewahren */
    margin-right: 10px;
    /* Abstand zwischen dem Symbol und dem Eingabefeld */
    vertical-align: middle;
    /* Vertikale Ausrichtung der Symbole */
}


main.login button {
    background-color: #783487;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
}

main.login button:hover {
    background-color: #5d2969;
}


/* Zusätzliche Optionen (wie Registrierung oder Passwort zurücksetzen) */
.additional-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    /* Abstände zwischen den Elementen */
    margin: 50px 0 40px 0;
}

.option {
    width: 45%;
}

.option h3 {
    font-size: 18px;
}

.option p {
    font-size: 14px;
    color: #666;
}

.btn {
    background-color: #783487;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 10pt;
}

/* Für kleine Bildschirme (maximale Breite 600px) */
@media only screen and (max-width: 600px) {
    .additional-options {
        flex-direction: column;
        /* Elemente untereinander anordnen */
        align-items: center;
        /* Optional: Zentriert auf der Seite */
    }

    .additional-options .option {
        width: 100%;
        /* Die Option nimmt die volle Breite ein */
        margin-bottom: 20px;
        /* Abstand zwischen den Elementen */
    }
}



/* Header outside */

.auth-links a,
.header-right a {
    margin-left: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    /* Das Icon und der Text werden ebenfalls vertikal ausgerichtet */
}

.auth-links {
    display: flex;
    align-items: center;
    /* Zentriert den Inhalt vertikal */
}






/* News Seite */

.news_content {
    padding: 15px;
    border-radius: 5px 5px 0px 0px;
}

.news_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news_header h3 {
    margin: 0;
}

.news_header .meta {
    font-size: 0.9em;
    color: #666;
}

.news_message {
    margin-top: 10px;
    text-align: left;
}

.news_footer {
    text-align: left;
    font-size: 9pt;
    color: #666;
    margin-top: 10px;
}

.news_button_area {
    display: flex;
    border-radius: 0px 0px 5px 5px;
    align-items: center;
    border-top: 1px solid #ccc;

}

.news_button_area button {
    width: 100%;
    border-radius: 0px 0px 5px 5px;
    border: none;
    background-color: #ddd;
    color: #000;
}

.news_button_area button:hover {
    background-color: #ccc;
}

.news_button_area img {
    height: 13px;
}

.news_button button img {
    vertical-align: middle;
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.btn-not-possible {
    cursor: not-allowed;
}

.news-form {
    display: none;
    margin-top: 20px;
    max-width: 600px;
    margin: 0px auto;
    padding: 15px;
    border-radius: 5px;
    text-align: left;
    color: #fff;
    background-color: #999;
    background-image:
        linear-gradient(to top,
            rgba(0, 0, 0, 0.2) 5%,
            rgba(0, 0, 0, 0.0) 15%,
            rgba(0, 0, 0, 0.0) 85%,
            rgba(0, 0, 0, 0.2) 95%), url('img/eulenlogo_transparent.png');
    background-repeat: no-repeat, repeat;
    background-size: cover, 25px 30px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.9);
}

.news-form input,
.news-form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.news-form select {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}










/* Dashboard bzw Shift-Kalender */
main.dash {
    padding: 80px 0 0 0;
    text-align: center;
    box-sizing: border-box;
}

@media (max-height: 750px) {
    main.dash {
        padding: 50px 0 0 0;
    }
}

/* Mobile View */
@media (max-width: 768px) {
    header {
        /* height: 76px; // Fixiere die Höhe des Headers */
        position: sticky;
        top: 0;
        z-index: 1000;
    }
}

.loading-overlay {
    position: fixed;
    top: 82px;
    left: 0;
    width: 100%;
    height: calc(var(--vh, 1vh) * 100 - 82px);
    background: rgba(255, 255, 255, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #783487;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-height: 750px) {
    .loading-overlay {
        top: 52px;
        height: calc(var(--vh, 1vh) * 100 - 52px);
    }
}

.shift-calendar {
    position: relative;
    display: flex;
    width: 100%;
    justify-content: flex-start;
    isolation: isolate;
}



.days-scroll-container {
    display: flex;
    flex-grow: 1;
    /* Nimmt den verfügbaren Raum zwischen Header und Footer ein */
    height: calc(var(--vh, 1vh) * 100 - 70px - 80px);
    overflow: auto;
    white-space: nowrap;
    gap: 10px;
    user-select: none;
    /* Verhindert Textmarkierung */
    -webkit-user-select: none;
    /* Für Safari */
    -ms-user-select: none;
    /* Für ältere IE-Versionen */
    position: relative;
    /* Wichtig für Sticky-Kinder */
    scrollbar-width: thin;
}

@media (max-height: 750px) {
    .days-scroll-container {
        height: calc(var(--vh, 1vh) * 100 - 40px - 50px);
    }
}

.day-container {
    flex: 0 0 auto;
    position: relative;
    /* Wichtig für Sticky-Kinder */
}

.day-header {
    text-align: left;
    position: sticky;
    top: 0;
    /* Fixiert den Text oben im Container */
    z-index: 102;
    background-color: #fff;
    padding: 5px;
    border-bottom: 1px solid #aaa;
    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
    box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.2);
}

.sticky-text {
    position: sticky;
    left: 0;
    left: 5px;
    /* Fixiert den Text an der linken Seite */
    z-index: 10;
    font-weight: bold;
    padding: 5px;
    /* Optionaler Innenabstand */
}


/* Jede Lane */
.lane {
    display: flex;
    flex-direction: column;
    border-right: 1px solid #ccc;
}

/* Zellen für die Zeit und Schichten */
.shift-cell,
.time-block {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 1px solid #ccc;
    box-shadow: 2px 0px 2px rgba(0, 0, 0, 0.2);
    /* Optionaler Schatten für den fixierten Header */
}

/* Standard-Zellen für Schichten */
.shift-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

/* Dunkelgrauer Hover-Effekt */
.shift-cell.content:hover, .shift-cell.content.multi-day-hover {
    background-color: rgba(50, 50, 50, 0.8);
    /* Dunkelgrau mit 80% Deckkraft */
    background-image:
        linear-gradient(to top,
            rgba(0, 0, 0, 0.5) 5%,
            /* Dunkler Bereich nur am unteren 10% des Containers */
            rgba(0, 0, 0, 0.0) 50%,
            /* Oben bleibt vollständig transparent */
            rgba(0, 0, 0, 0.5) 95%
            /* Dunkler Bereich nur am unteren 10% des Containers */
        ),
        url('img/eulenlogo_transparent.png');
}

.shift-cell.content {
    border-bottom: 1px solid black;
    border-right: 1px solid black;
    border-radius: 5px;    
    background-image:
        linear-gradient(to top,
            rgba(0, 0, 0, 0.3) 5%,
            rgba(0, 0, 0, 0.0) 50%,
            rgba(0, 0, 0, 0.3) 95%
        ),
        url('img/eulenlogo_10.png');
    background-repeat: no-repeat, repeat;
    background-size: cover, 25px 30px;    
    cursor: pointer;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9);
}

/*
.shift-cell.content {
    border-bottom: 1px solid black;
    border-right: 1px solid black;
    border-radius: 5px;
    background-image:
        linear-gradient(to top,
            rgba(0, 0, 0, 0.3) 5%,
            rgba(0, 0, 0, 0.0) 50%,
            rgba(0, 0, 0, 0.3) 95%
        ),
        url('img/eulenlogo_10.png');
    background-repeat: no-repeat, repeat;
    background-size: cover, 25px 30px;
    cursor: pointer;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9);
}

.empty {
    background-color: white;
}
*/

/* Zeitblöcke */
.time-block {
    padding-left: 2px;
    padding-right: 2px;
    background-color: #f9f9f9;
    text-align: center;
    border-bottom: 1px solid #ccc;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.8);
    /* Hintergrund halbtransparent */
    backdrop-filter: blur(5px);
    /* Verwischungseffekt */
}

/* Inhalt in den Zellen */
div.shift-cell>div {
    margin: 0;
    padding: 0;
    font-size: 18px;
    line-height: 1;
}

.shift-cell[style*="height"] {
    min-height: 20px;
}

/* Fixierte Header für die Lanes */
.lane-header {
    position: sticky;
    top: 30px;
    background-color: #ddd;
    text-align: center;
    padding: 3px 5px;
    font-weight: bold;
    z-index: 100;
    box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.3),
        0px 2px 5px rgba(0, 0, 0, 0.1);
    border-bottom: solid 1px #888;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    height: 45px;    
}

/* Zeit-Spalte */
.lane.time {
    position: sticky;
    left: 0;
    top: 0;
    width: 50px;
    z-index: 101;
    /* Höhere Z-Index für die Zeitspalte */
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
}

/* Spalten für die Schichten */
.lane.shifts:not(.music-lane) {
    width: 70px;    
}

.music-lane {
    position: sticky;
    right: 0;
    z-index: 100;
    width: 70px;
}

.music-lane-unsticky {
    position: static;
}

.music-lane-text {
    font-weight: normal;
    font-size: 11pt !important;
    color: #fff;
    width: 100%;
    text-align: center;
    white-space: normal;
    word-break: break-word;
    hyphens: auto;
    position: relative;
     transition: opacity 0.5s ease;
     z-index: 3;
}

.music-lane .shift-cell.content:hover .music-lane-text {
    opacity: 0;
}

.music-header {
    cursor: pointer;
    position: sticky;
    right: 0;
    z-index: 100;
    background-color: #aaa;
    border-left: 1px solid #888;
}

.music-lane .shift-cell.empty {
   background-color: rgba(170, 170, 170, 0.1);
   background-image: none;
   backdrop-filter: blur(5px);
   -webkit-backdrop-filter: blur(5px);
   background-blend-mode: overlay;
   border-bottom: none !important;
   box-shadow: none !important;
}

.music-lane .shift-cell.content {
    cursor: pointer;
    background-color: #888; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.music-lane .shift-cell.content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    transition: opacity 0.5s ease;
    z-index: 1;
}

.music-lane .shift-cell.content:hover::before {
    opacity: 0;
}



/* 3 Tage Ansicht */
.days-container {
    display: flex;
    width: 100%;
    overflow: hidden;
    flex-direction: row;
    justify-content: space-between;
    /* Gleichmäßiger Abstand zwischen den Spalten */
}

.day-column {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: hidden;
    /* Verhindert Scrollbalken */
}

.previous-day,
.next-day {
    flex-grow: 1;
    flex-basis: 25%;
}

.current-day {
    flex-grow: 2;
    flex-basis: 50%;
}

.day {
    padding: 5px 10px;
}

.date-container {
    text-align: center;
    color: #555;
    padding: 5px;
}

.understaffed-red {
    background-color: red !important;
}

.understaffed-orange {
    background-color: orange !important;
}

.assigned {
    background-color: #8382d7 !important;
}



/* Schichtliste Toggle*/
.view-toggle-btn {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 60px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 30px 0 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    z-index: 1000;
    transition: background-color 0.3s;
}

.view-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.2);
}

.view-toggle-btn:active {
    background: rgba(0, 0, 0, 0.5);
}

.list-view-overlay {
    position: fixed;
    top: 82px; /* Höhe des Headers */
    right: -100%;
    bottom: 57px; /* Höhe des Footers */
    width: 100%;
    background: white;
    transition: right 0.3s ease-in-out;
    z-index: 999;
    overflow-y: auto;
}

/* Wenn der List View aktiv ist */
.list-view-overlay.active {
    right: 0;
}

.no-animation {
    transition: none !important;
}

@media (max-height: 750px) {
    .list-view-overlay {
        top: 52px;
        bottom: 27px;
    }
}


.shift-type-buttons {
    padding: 0px 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom:20px;
}

.shift-type-button {
    display: inline-block;
    padding: 8px 15px;
    background-color: #aaa;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
    transition: background-color 0.3s;
    margin: 3px 0px;
}

.shift-type-button:hover {
    background-color: #bbb;
}

.shift-type-button:active, .shift-type-button:focus {
    background-color: #aaa;
}



.columns-container {
    columns: 300px auto;
    column-gap: 20px;
    padding: 0px 0px;
}

.shift-group {
    break-inside: avoid;
    page-break-inside: avoid;
    -webkit-column-break-inside: avoid;
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
    border: 2px solid #aaa;
    padding: 10px;
    border-radius: 10px;
}

.shift-group h3 {
    text-align: center;
    margin-top: 20px;
    position: relative;
    font-size: 16pt;
}

@keyframes flying-line {
    0% { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); opacity: 1; }
    12.5% { clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); opacity: 1; }
    25% { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); opacity: 1; }
    37.5% { clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%); opacity: 1; }
    50% { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); opacity: 1; }
    62.5% { clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); opacity: 1; }
    75% { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); opacity: 1; }
    87.5% { clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%); opacity: 1; }
    95% { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); opacity: 1; }
    100% { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); opacity: 0; }
}

.shift-group h3.highlight::before {
    content: '';
    position: absolute;
    inset: -5px;
    border: 2px solid #783487;
    border-radius: 10px;
    animation: flying-line 2s linear forwards;
    transition: opacity 0.3s ease-out;
}


.day-header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0 15px 0;
    position: relative;
}

.day-header-line {
    flex-grow: 1;
    height: 1px;
    background-color: #666;
}

.day-header-text {
    margin: 0 15px 0 0;
    color: #666;
    font-size: 14px;
    font-weight: bold;
}

.progress-bar-container {
    position: relative;
    height: 6px;
    background-color: #ddd; /* Dunklerer Hintergrund */
    border-radius: 4px;
    margin-top: 5px;
    overflow: hidden;
}

.progress-bar-fill {
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    transition: width 0.3s ease;
    background-color: #ab6ab9; /* Standard-Balkenfarbe für kostenpflichtige Schichten */
}

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

.shift-list li {
    margin: 5px 0;
}


.shift-link {
    text-decoration: none;
    color: #783487; /* Lila für verfügbare Schichten */
}

.shift-link:hover {
    text-decoration: none;
    color: #9d44b0;
}


.shift-list-link {
    text-decoration: none;
    display: block;
    padding: 8px 0px;
    margin-bottom: 5px;
    position: relative;
    color: #783487; /* Lila für verfügbare Schichten */
}

.shift-list-link:hover {
    text-decoration: none;
    background-color: #f5f5f5;
}

/* Hover-Effekte */
.shift-list-link:hover .progress-bar-fill {
    opacity: 0.8;
}



/* Kostenlose Schicht */
.shift-list-link.shift-free {
    color: #a853aa;
}

.shift-list-link.shift-free .progress-bar-fill {
    background-color: #e3a7e5;
}




/* Volle Schicht */
.shift-list-link.shift-full {
    color: #666;
}

.shift-list-link.shift-full .progress-bar-fill {
    background-color: #666;
}



/* Zugewiesene Schicht */
.shift-list-link.shift-assigned {
    color: #647cc4;
}

.shift-list-link.shift-assigned .progress-bar-fill {
    background-color: #647cc4;
}




@media (max-width: 640px) {
    .columns-container {
        columns: 1;
        padding: 10px;
    }
}


.scroll-to-top {
    position: fixed;  /* fixed statt absolute für konsistente Position beim Scrollen */
    top: 100px;
    right: 5px;
    background: rgba(223, 223, 223, 0.7);
    color: #555;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: opacity 0.3s;
    z-index: 1000;
    padding: 0 0 3px 0;  /* padding angepasst für den nach oben Pfeil */
}

.scroll-to-top:hover {
    color: #fff;
    background-color: #9d44b0;
}

@media (max-height: 750px) {
    .scroll-to-top {
        top: 60px;
        right: 2px;
    }
}


/* Anpassungen für Bildschirmhöhen unter 400px */
@media (max-height: 400px) {
    /* Ausblenden der Willkommensüberschrift */
    .welcome-message {
        display: none;
    }
    
    .main-chat {
        padding-top: 40px !important;
    }

    .container {
        height: calc(var(--vh, 1vh)* 100 - 20px - 40px) !important;
    }

    /* Reduziertes Padding für den Hauptbereich im Dashboard */
    main.dash {
        padding-top: 40px;
    }
    
    /* Kleinere Schrift und weniger Padding für Tagesüberschriften */
    .day-header {
        font-size: 10pt;
        padding: 3px;
    }
    
    /* Anpassungen für Spurüberschriften */
    .lane-header {
        top: 23px;
        font-size: 10pt;
        height: 35px;
        padding: 2px 3px;
    }
    
    /* Kompakterer Footer */
    footer {
        font-size: 8pt !important;
        padding: 3px !important;
    }
    
    /* Kleineres Logo und Überschrift */
    .logo h1 {
        font-size: 14pt;
    }
    
    .logo img {
        width: 20px;
    }
    
    header {
        padding: 5px 10px;
    }
    
    /* Reduzierte Größe für Sticky-Text */
    .sticky-text {
        font-size: 9pt;
        padding: 2px;
    }
    
    .time-block {
        font-size: 9pt;
    }
    
    /* Reduzierte Höhe für die days-scroll-container */
    .days-scroll-container {
        height: calc(var(--vh, 1vh) * 100 - 45px - 22px) !important;
    }

    .list-view-overlay {
        top: 40px;
        bottom: 16px;
    }
}







/* Admin Shifts Layout */
.shift-container {
    max-width: 600px;
    /* Setzt die maximale Breite auf 600px */
    margin: 0 auto;
    padding: 20px;
}








/* Profilseite Layout */
.profile-container {
    max-width: 600px;
    /* Setzt die maximale Breite auf 600px */
    margin: 0 auto;
    padding: 20px;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
}

.required-info {
    color: #783487;
    /* Lila Farbe für Pflichtfeld-Hinweis */
    font-weight: bold;
    text-align: center;
    font-size: 22px;
}

.form-row {
    display: flex;
    justify-content: space-between;
    column-gap: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group.half-width {
    flex: 1;
}

.empty-placeholder {
    flex: 1;
    /* Leerer Container für die rechte Seite */
}

.form-group label {
    font-weight: bold;
    margin-bottom: 5px;
}

/* Eingabefelder */
.profile-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc !important;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 14px;
    outline: none;
}

/* Beibehaltung der allgemeinen Formgruppe, aber explizit für Profileingaben */
.form-group .profile-input[readonly] {
    background-color: #e0e0e0;
    /* Grau für den Nickname */
    color: #333;
    /* Optional, um den Text dunkler zu machen */
    border-color: #ccc;
    /* Um den Rahmen beizubehalten */
}

.profile-input:focus {
    border-color: #783487;
}

.profile-info-left {
    text-align: left;
    margin-bottom: 10px;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
}

button.btn-save-profile {
    background-color: #783487;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
}

button.btn-save-profile:hover {
    background-color: #9d44b0;
}

button.btn-leave-event {
    background-color: #b33d39;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    width: 80%;
}

button.btn-leave-event:hover {
    background-color: #c9302c;
}

button.btn-reset {
    background-color: gray;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    width: 80%;
}

button.btn-reset:hover {
    background-color: darkgray;
}

.qr-code-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-code-img {
    max-width: 200px;
    margin-bottom: 10px;
    transition: transform 0.2s;
}

.qr-code-img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.qr-code-hint {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}





/* Schicht erstellen oder bearbeiten */
main.admin-shifts {
    padding: 40px;
    text-align: center;
}

.shift-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 14px;
    background-color: #fff;
    outline: none;
}

.shift-input:focus {
    border-color: #783487;
}

button.btn-save {
    background-color: #783487;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    display: inline-block;
}

button.btn-save:hover {
    background-color: #9d44b0;
}


/* Style für den Löschen-Button */
button.btn-delete {
    background-color: #ccc;
    /* Grauer Hintergrund */
    color: white;
    width: 100%;
    /* Damit beide Buttons nebeneinander passen, mit 20px Abstand */
    margin-top: 10px;
}

button.btn-delete:hover {
    background-color: #e74c3c;
    /* Roter Hintergrund beim Hover */
}

/* Label und Eingabefelder ausrichten */
form .form-group {
    display: flex;
    flex-direction: column;
    /* Label und Input übereinander */
    margin-bottom: 15px;
    width: 100%;
}

form .form-group label {
    text-align: left;
    /* Links ausgerichtet */
    margin-bottom: 5px;
    /* Abstand zum Input-Feld */
    font-weight: bold;
    font-size: 14px;
}

/* Eingabefelder auf volle Breite, ohne Radio-Buttons */
.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="datetime-local"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 14px;
    background-color: #fff;
    outline: none;
}

/* Radio-Buttons sollen nicht 100% Breite bekommen */
.radio-group input[type="radio"] {
    width: auto;
    /* Stellt sicher, dass die Radio-Buttons ihre natürliche Größe beibehalten */
}


form .form-group input:focus {
    border-color: #783487;
    /* Fokusfarbe lila */
}

/* Spezifische Breitenbegrenzung für Radio-Schaltflächen */
.form-group.radio-group {
    display: flex;
    justify-content: flex-end;
    /* Zentriert die Radio-Buttons in der Zeile */
    align-items: flex-start;
    margin-bottom: 15px;
}

.radio-input {

    width: 20 px;
}

/* Radio-Buttons und Labels in einer Zeile mit Abstand */
.radio-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

/* Stil für die Radio-Label und Abstand */
.radio-group label {
    display: flex;
    align-items: center;
    margin-right: 15px;
    font-size: 14px;
}

/* Stil für die Radio-Buttons */
.radio-group input[type="radio"] {
    margin-right: 8px;
    /* Abstand zwischen Radio-Button und Text */
}











/* Stil für die Schichtentabelle */
.shift-table {
    width: auto;
    /* Nur so breit wie der Inhalt */
    margin: 20px auto;
    /* Zentriere die Tabelle */
    border-collapse: collapse;
    max-width: 100%;
    /* Stelle sicher, dass die Tabelle nicht über den Bildschirmrand hinausgeht */
    table-layout: auto;
    /* Automatisches Layout für die Spalten */
}

.shift-table th,
.shift-table td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}

/* Optionale Anpassung für kleinere Bildschirme */
@media (max-width: 768px) {
    .shift-table {
        width: 100%;
        /* Auf kleineren Bildschirmen die Breite anpassen */
    }
}

/* Stil für Aktionsbuttons */
.btn-info {
    background-color: #2f39bb;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
}

.btn-leave {
    background-color: #bb2f60;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
}

.btn-info:hover,
.btn-leave:hover {
    opacity: 0.8;
}

/* Shift-Icons */
.fa-calendar,
.fa-clock,
.fa-map-marker {
    margin-right: 5px;
}

main.shifts-container {
    padding-top: 0px;
}










/* User Profile */

.profile-container h3 {
    text-align: left;
    /* Überschreibt zentrierten Text und setzt ihn auf linksbündig */
}


.shift-list {
    text-align: left;
    /* Stellt sicher, dass die Liste linksbündig ist */
    list-style-position: inside;
    /* Punkte näher an den Text bringen */
}

.shift-list li {
    margin-left: 0;
    /* Kein zusätzliches Margin */
    padding-left: 0;
    /* Kein zusätzliches Padding */
    margin-top: 5px;
    /* Abstand zwischen den Listenpunkten */
    text-align: left;
    /* Stellt sicher, dass der Text innerhalb der Liste linksbündig ist */
}

.user_profile_container {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 15px;
    background-color: #f9f9f9;
    max-width: 600px;
    margin: 20px auto;
    box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.2);
    /* Schatten rechts unten */
}

.user_profile_überschrift {
    font-size: 1.2em;
    font-weight: bold;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
    padding-bottom: 5px;
    text-align: left;
}

.user_profile_inhalt {
    display: flex;
    flex-direction: column;
}

.user_profile_block1,
.user_profile_block2,
.user_profile_block3 {
    flex: 1;
    margin: 0;
    text-align: left;
}

.user_profile_block2,
.user_profile_block3 {
    margin-top: 10px;
}

@media (min-width: 768px) {
    .user_profile_inhalt {
        flex-direction: row;
        justify-content: space-between;
    }

    .user_profile_block1,
    .user_profile_block2,
    .user_profile_block3 {
        flex-basis: 30%;
        margin-top: 0px;
        text-align: left;
    }
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
}

.user-search-item {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}

.user-search-item:hover {
    background-color: #f5f5f5;
}

.user-search-item:last-child {
    border-bottom: none;
}

.user-search-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
    background-size: cover;
    background-position: center;
}

.user-search-nickname {
    font-size: 14px;
    color: #333;
}

.no-results {
    padding: 15px;
    text-align: center;
    color: #666;
    font-style: italic;
}








/* Modal Overlay */
#shift-card-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    /* Hintergrund abdunkeln */
    z-index: 9999;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

/* Modal Content */
#shift-card-content {
    position: relative;
    padding: 0;
    border-radius: 10px;
    width: auto;
    max-width: 600px;
    margin: auto;
    z-index: 10000;
}

/* Schichtkarte */
.shift-card {
    width: 350px;
    border: 1px solid black;
    border-radius: 10px;
    background-color: white;
    padding: 0;
    margin: 20px;
    position: relative;
    display: block;
    font-family: Arial, sans-serif;
    overflow: hidden;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.9);
}

/* Header der Schichtkarte */
.shift-card-header {
    background-color: #783487;
    color: white;
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid black;
    background-image: url('img/eulenlogo_transparent.png');
    background-repeat: repeat;
    background-size: 30px 35px;
}

/* Weißer Link im Shift Card Header */
.shift-card-header .event-link {
    color: white;
    text-decoration: none;
}

.shift-card-header .event-link:hover {
    text-decoration: underline;
}

.shift-card-header h3 {
    margin: 0;
    font-size: 18px;
}

.shift-card-header p {
    margin: 0;
    font-size: 14px;
}

/* Aufgabenbeschreibung */
.shift-card-tasks {
    background-color: #e0e0e0;
    padding: 8px 10px;
    /* Reduzierter Abstand oben und unten */
    border-bottom: 0px solid black;
    /* Schwarzer Rahmen zwischen Sektionen */
    text-align: left;
    background-image:
        linear-gradient(to bottom,
            #e0e0e0 50%,
            #fff 100%);
    background-repeat: no-repeat;
    background-size: cover;
}

.shift-card-tasks p {
    margin: 5px 0;
    font-size: 14px;
    color: #333;
}

.task-notice {
    background-color: #ccc;
    border-radius: 5px;
    font-style: italic;
    padding: 5px;
    border: 2px solid purple;
}

/* Eulen-Bereich anpassen */
.shift-card-eulen {
    display: flex;
    flex-direction: column;
    /* Stellt sicher, dass die Elemente untereinander stehen */
    align-items: left;
    padding: 10px;
}

.shift-card-eulen p {
    font-weight: bold;
    margin: 0;
    font-size: 18px;
    /* Gleiche Schriftgröße wie die Überschrift */
}

.shift-card-eulen .eulen-text {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    /* Abstand zwischen Eulen und Fortschrittsbalken */
}

.shift-card-eulen .eulen-text img {
    margin-right: 10px;
    /* Abstand zwischen Eulenlogo und Text */
}


/* Fortschrittsbalken */
.progress-bar {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 10px;
    height: 15px;
    margin-top: 5px;
    margin-bottom: 10px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

/* Fortschrittsbalken - mit Überfüllungsschutz */
.progress-filled {
    height: 100%;
    background-color: #783487;
    border-radius: 10px;
    text-align: center;
    color: white;
    font-size: 12px;
    padding: 0 5px;
    background-image:
        linear-gradient(to right,
            rgba(200, 110, 220, 0.0) 5%,
            rgba(200, 110, 220, 0.9) 95%);
    background-repeat: no-repeat;
    background-size: cover;
    /* Verhindert Überfüllung - maximal 100% Breite */
    max-width: 100%;
    /* Stellt sicher, dass der Text zentriert bleibt */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Shift-Card Eulen */
.shift-card-users {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.shift-card-empty-user-column {
    width: 100%;
    /* Gleichmäßige Aufteilung in drei Spalten */
    text-align: left;
}

.shift-card-empty-user-column p {
    color: #666;
    font-size: 10pt;
    font-weight: normal;
    font-style: italic;
    text-decoration: none;
}

.shift-card-user-column {
    width: 30%;
    /* Gleichmäßige Aufteilung in drei Spalten */
    text-align: center;
}


.shift-card-user-column p, .shift-card-user-column a {
    font-size: 12pt;
    font-weight: normal;
    text-decoration: none;
}

.shift-card-user-column a:hover {
    color: #9d44b0;
    text-decoration: none;
}


.shift-card-phone-input-container {
    padding: 8px 10px;
    position: relative;
    overflow: hidden;
}

.shift-card-phone-input-wrapper {
    position: relative;
    z-index: 2;
}

.shift-card-phone-input {
    width: 100% !important;
    padding: 10px !important;
    border: 2px solid #6a5acd !important;
    border-radius: 5px !important;
    font-size: 12px !important;
    transition: border-color 0.3s !important;
}

.shift-card-phone-input:focus {
    outline: none;
    border-color: #483d8b;
}

/* Button  */
.shift-card-join {
    display: block;
    width: 100%;
    background-color: #783487;
    color: white;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    border-top: 1px solid black;
    background-image:
        linear-gradient(to top,
            rgba(0, 0, 0, 0.3) 5%,
            rgba(0, 0, 0, 0.0) 40%);
    background-repeat: no-repeat;
    background-size: cover;
}

.shift-card-join:hover {
    background-color: #9d44b0;
    color: white;
}

.shift-card-join.disabled {
    background-color: gray;
    cursor: not-allowed;
}


/* Für den Modal-Inhalt (Schichtkarte) */
#shiftInfoContent {
    overflow: auto;
    max-height: 400px;
}

/* Close Button */
.overlay-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    z-index: 10003;
    padding: 0px;
    border-radius: 50%;
    width: 45px;
}

.overlay-close:hover {
    background: rgba(0, 0, 0, 0.3);
}

.error-card-container {
    background: transparent;
}

.error-card {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}














/* Detail Tasks */
.alert-section {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
}

.drinks-table {
    width: 100%;
    margin: 15px 0;
}

.drinks-table table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.drinks-table td, 
.drinks-table th {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.drinks-table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

.equipment-section {
    background-color: #e2e3e5;
    border-left: 4px solid #6c757d;
}

.info-section {
    background-color: #d1ecf1;
    border-left: 4px solid #17a2b8;
}

.note {
    color: #666;
    font-size: 0.9em;
    font-style: italic;
    margin-top: 5px;
}

.task-description {
    font-size: 11pt;
}

.task-image {
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: auto;
    margin: 15px 0;
    max-width: 100%;
}

.task-section {
    background-color: #f9f9f9;
    border-radius: 5px;
    margin-bottom: 15px;
    padding: 5px 10px 5px 10px;
    text-align: left;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.task-section h3 {
    font-weight: bold;
    margin: 10px 0 15px 0;
}

.task-section p {
    margin: 5px 0 10px 0;
}

.task-section li {
    margin-bottom: 5px;
}

.task-section ol,
.task-section ul {
    margin-bottom: 10px;
    margin-left: 20px;
}

.warning-section {
    background-color: #f8d7da;
    border-left: 4px solid #dc3545;
}









/* Benutzerübersicht */

.user-table {
    width: auto;
    /* Passt die Breite an den Inhalt an */
    table-layout: auto;
    /* Dynamische Spaltenbreite basierend auf dem Inhalt */
    border-collapse: collapse;
    /* Grenzen der Zellen zusammenführen */
    margin: 0 auto;
    /* Zentriert die Tabelle */
}

.user-table th,
.user-table td {
    padding: 8px;
    border: 1px solid #ddd;
    text-align: left;
}

.user-table th {
    background-color: #f2f2f2;
}


















/* user Profile */
.search-container {
    background-color: #999;
    /* Dunkelgrauer Hintergrund */
    padding: 20px;
    border-radius: 10px;
    /* Abgerundete Ecken */
    margin-bottom: 30px;
    /* Abstand zum nächsten Abschnitt */
    text-align: left;
    /* Zentriert den Text */
    color: white;
    /* Weißer Text */
    display: block;
    /* Stellt sicher, dass das Label den gesamten Platz einnimmt */
    text-align: left;
    /* Links ausgerichtet */
    font-size: 11pt;
    /* Schriftgröße anpassen, falls gewünscht */
    max-width: 600px;
    /* Setzt die maximale Breite auf 600px */
    margin: 20px auto;
    background-image:
        linear-gradient(to top,
            rgba(0, 0, 0, 0.2) 5%,
            rgba(0, 0, 0, 0.0) 15%,
            rgba(0, 0, 0, 0.0) 85%,
            rgba(0, 0, 0, 0.2) 95%), url('img/eulenlogo_transparent.png');
    background-repeat: no-repeat, repeat;
    background-size: cover, 25px 30px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.9);
}


/* Suchfeld Stil */
.search-container input.shift-input {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    margin-bottom: 10px;
    /* Abstand zum Button */
    display: block;
}

/* Suchen-Button */
.search-container button.btn {
    background-color: #783487;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.search-container button.btn:hover {
    background-color: #9d44b0;
}

.search-result {
    padding: 10px 0px;
    text-align: left;
    display: block;
    text-align: left;
    font-size: 11pt;
}

.search-result-placeholder {
    max-width: 600px;
    padding: 0px 10px; 
    color: #444; 
    font-size: 10pt; 
    margin: 0px auto; 
    text-align:left;
}

.report-options {
    margin-top: 15px;
}
.report-option {
    margin: 10px 0;
}
.report-option input[type="radio"] {
    margin-right: 10px;
}
.report-option label {
    cursor: pointer;
    font-size: 11pt;
}
.report-detail {
    padding: 15px 0px;
    margin-top: 15px;
    font-size: 11pt;
}



/* Tauschanfragen */
.exchange-container {
    background-color: #f9f9f9;
    padding: 20px;
    text-align: center;
    max-width: 600px;
    margin: 20px auto;
    /* Zentriert den Container */
    border-radius: 10px;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
    /* Schatten rechts unten */
}


/* Container für den Titel mit dunklem Hintergrund und Muster */
.exchange-container-head {
    background-color: #666;
    background-image: url('img/eulenlogo_transparent.png');
    background-repeat: repeat;
    background-size: 25px 30px;
    border-radius: 5px 5px 0 0;
    /* Nur obere Ecken abgerundet */
    color: white;
    text-align: center;
    border-top: solid 1px #ccc;
    border-left: solid 1px #ccc;
    border-right: solid 1px #ccc;
}

/* Container für den restlichen Inhalt mit helleren Hintergrund */
.exchange-content {
    padding: 20px;
    border-radius: 0 0 5px 5px;
    color: #000;
    background-color: #f9f9f9;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
    border-bottom: solid 1px #ccc;
    border-left: solid 1px #ccc;
    border-right: solid 1px #ccc;

}

/* Standardstil für das Textarea */
.req-textarea {
    width: 90%;
    /* Passt sich der Breite des Containers an */
    max-width: 600px;
    /* Maximale Breite auf großen Bildschirmen */
    height: 100px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 14px;
    box-sizing: border-box;
    /* Verhindert Überlauf von Padding/Borders */
}

/* Media Query für mobile Bildschirme */
@media (max-width: 600px) {
    .req-textarea {
        width: 90%;
        /* Reduziert die Breite auf kleineren Bildschirmen */
        font-size: 12px;
        /* Kleinere Schriftgröße auf mobilen Geräten */
    }
}

/* Überschrift für den Anfrage-Text */
.exchange-container h3 {
    margin-top: 0;
    background-color: transparent;
    color: black;
    font-size: 1.5em;
    margin-bottom: 10px;
}

/* Stile für Schichtinformationen */
.exchange-container p,
.exchange-container-request p {
    margin: 10px 0;
    color: #000;
}

.exchange-container-request {
    max-width: 600px;
    margin: 0 auto;
}

.exchange-container .shift-info,
.exchange-container-request .shift-info {
    font-size: 16px;
    font-weight: bold;
}

/* Stil für die Buttons */
.button-container {
    margin-top: 20px;
}

.button-container a {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    margin: 5px;
}

.button-container .btn-accept {
    background-color: #783487;
    /* Lila für Annehmen */
    color: white;
    position: relative;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    /* Schatten rechts unten */
}

.button-container .btn-accept:after {
    content: '✔';
    /* Haken-Symbol */
    margin-left: 10px;
}

.button-container .btn-decline {
    background-color: #666;
    /* Grau für Ablehnen */
    color: white;
    position: relative;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    /* Schatten rechts unten */
}

.button-container .btn-decline:after {
    content: '✘';
    /* X-Symbol */
    margin-left: 10px;
}




/* My Tasks */
.tasks-hr {
    position: relative;
    top: 100px;
    height: 10px;
    border-radius: 5px;
    background-color: #eee;
    border: 0;
    opacity: 0;
    animation: slideIn2 0.1s ease-out 0.2s forwards;
}

.tasks-owl {
    height: 100px;
    opacity: 0;
    animation: slideIn2 0.2s ease-out 0.2s forwards;
}






.search-container.email {
    background-color: #999;
    /* Dunkelgrauer Hintergrund */
    padding: 30px;
    border-radius: 10px;
    /* Abgerundete Ecken */
    text-align: left;
    /* Zentriert den Text */
    color: white;
    /* Weißer Text */
    display: block;
    /* Stellt sicher, dass das Label den gesamten Platz einnimmt */
    text-align: left;
    /* Links ausgerichtet */
    font-size: 11pt;
    /* Schriftgröße anpassen, falls gewünscht */
    max-width: 400px;
    /* Setzt die maximale Breite auf 600px */
    margin: 120px auto;
    background-image:
        linear-gradient(to top,
            rgba(0, 0, 0, 0.2) 5%,
            rgba(0, 0, 0, 0.0) 15%,
            rgba(0, 0, 0, 0.0) 85%,
            rgba(0, 0, 0, 0.2) 95%), url('img/eulenlogo_transparent.png');
    background-repeat: no-repeat, repeat;
    background-size: cover, 25px 30px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.9);
    width: 90%;
}













/* Message System */

.main-chat {
    padding: 90px 0px 10px 0px;
}

.container {
    width: 750px;
    margin: 0 auto;
    display: flex;
    height: calc(var(--vh, 1vh) * 100 - 82px - 80px);
    /* Alternativ die neue dvh Einheit: height: calc(100dvh - 82px - 80px); */
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}





/* Search field styling */
.msg-search-container {
    position: sticky;
    top: 0;
    background: #dfdfdf;
    padding: 10px;
    z-index: 10;
    height: 61px;
    display: flex;
    align-items: center;
}

input[type="text"].msg-search-input {
    width: 100%;
    padding: 8px 35px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
}

.msg-search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

/* Search results popup */
.msg-search-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 15px 25px;
    border-radius: 5px;
    border: 4px solid #f00;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: none;
}

.msg-search-popup.active {
    display: block;
}

.msg-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
}
.user-search-item {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}
.user-search-item:hover {
    background-color: #f5f5f5;
}
.user-search-item:last-child {
    border-bottom: none;
}
.user-search-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
    background-size: cover;
    background-position: center;
}
.user-search-nickname {
    font-size: 14px;
    color: #333;
}
.no-results {
    padding: 15px;
    text-align: center;
    color: #666;
    font-style: italic;
    font-size:11pt;
}



/* Conversation items */
.conversations {
    width: 250px;
    border-right: 1px solid #ccc;
    overflow-y: auto; /* Standardmäßig scrollbar */
    background-color: #dfdfdf;
    position: relative;
    transition: overflow-y 0.2s; /* Optional: Sanfter Übergang */
}

.conversation-item {
   padding: 5px;
   cursor: pointer;
   background-color: #dfdfdf;
   border-radius: 10px;
   margin: 0 5px;
   height: 60px;
   align-items: center;
   display: flex;
   position: relative; /* Für das Pseudo-Element */
}

.conversation-item-left-right {
   display: flex;
   align-items: center;
   width:100%;
    position: relative;
    z-index: 2;
}

.conversation-profile-pic {
   width: 45px;
   height: 45px;
   border-radius: 50%;
   object-fit: cover;
   flex-shrink: 0;
   margin-right: 10px;
   display: block
}

.conversation-item-right {
   display: grid;
   grid-template-columns: 1fr auto;
   grid-template-rows: auto auto;
   width: 100%;
}

.conversation-nickname {
   grid-column: 1;
   grid-row: 1;
   font-weight: bold;
   text-align:left;
   color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conversation-time-container {
   grid-column: 2;
   grid-row: 1;
   display: flex;
   align-items: center;
}

.conversation-status {
   display: flex;
   align-items: center;
}

.conversation-status img {
   height: 9px;
   margin-right: 5px;
}

.conversation-time {
   font-size: 12px;
   color: #666;
}

.conversation-last-message-container {
   grid-column: 1 / -1;
   grid-row: 2;
   display: flex;
   width: 100%;
}

.conversation-last-message {
   flex: 1;
   display: block;
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
   color: #666;
   font-size: 13px;
   white-space: nowrap;
   text-align:left;
   min-height: 20px;
   align-items: center;
   line-height: 20px;
}

.conversation-last-message .new-conversation {
    font-style: italic;
}


.unread-count-container {
   flex-shrink: 0;
   margin-left: 3px;
   min-width: 20px;
}

.unread-count {
   background: #783487;
   color: white;
   padding: 2px 2px;
   font-size: 12px;
   text-align: center;
   border-radius: 999px;
   min-width: 20px;
   min-height: 20px;
   display: flex;
   align-items: center;
   justify-content: center;
}

.pending-exchange-icon {
    width: 15px;
    height: 15px;
    opacity: 0.8;
    margin-right: 3px;
    vertical-align: middle;
}

.conversation-item.active .pending-exchange-icon {
    content: url('img/tausch_white.png');
}





.conversation-last-message.exchange-message {
    font-style: italic;
}

.conversation-item.active {
    background-color: #783487;
}

.conversation-item.active .conversation-nickname {
    color: #fff;
}

.conversation-item.active .conversation-last-message,
.conversation-item.active .conversation-time {
    color: #ddd;
}

.conversation-item.active:hover {
    background: #783487;
}

/* Für das Status-Icon (Haken) in aktiven Konversationen */
.conversation-item.active .conversation-status img {
    filter: none;
    /* Kein Filter, da es für aktive Konversationen nicht verändert werden muss */
    opacity: 0.8;
}

/* Für das Status-Icon (Haken) in nicht aktiven Konversationen */
.conversation-item .conversation-status img {
    filter: invert(100%);
    /* Invertiert das Bild, wenn die Konversation nicht aktiv ist */
    opacity: 0.5;
}


.conversation-item:hover {
    background: #eee;
}

.no-conversations {
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.new-conversation {
    font-style: italic;
    /* Setzt die Schriftart auf kursiv */
}



/* Standard-Styling für alle conversation-items */
.conversation-special .conversation-item {
    border-left: 4px solid #783487;
    /*background-color: #f0f0f0;*/
    padding: 10px;
    display:block;
}

/* Pulsierender Effekt für .urgent-item */
@keyframes pulse-border-special {
    50% {
        border-left-color: #f00;
        box-shadow: -1px 0 2px #f00;
        /* Intensiverer Schatten nur nach links */
    }

}

.conversation-special .urgent-item {
    animation: pulse-border-special 1.5s infinite;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.conversation-special .conversation-item:hover {
    border-left: 4px solid #9d44b0;
    background-color: #eee;
}

.conversation-last-message.urgent {
    color: #e74c3c;
    font-weight: bold;
}




/* Chat Suche */

/* Style für den Search Clear Button */
.msg-search-clear {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #dfdfdf;
    z-index: 10;
}

.msg-search-clear:hover {
    color: #333;
    background-color: #ccc;
}

/* Anpassen des Paddings für das Suchfeld */
input[type="text"].msg-search-input {
    padding-right: 40px;
}



/* Overlay für Suchergebnisse */
.search-results-overlay {
    position: absolute;
    top: 61px; /* Höhe des Suchbereichs */
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #dfdfdf;
    z-index: 5;
    display: none;
    overflow-y: auto; /* Scrollen nur im Overlay */
}

.search-results-header {
    padding: 10px 15px;
    font-weight: bold;
    color: #666;
    border-bottom: 1px solid #ccc;
    background-color: #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 6;
}

.search-results-content {
    padding: 5px 0;
}

/* Styling für Ergebniskategorien */
.search-result-header {
    padding: 8px 15px;
    font-size: 14px;
    color: #666;
    background-color: #e8e8e8;
    border-bottom: 1px solid #ddd;
    font-weight: 500;
}

/* Trennlinie zwischen verschiedenen Ergebnistypen */
.search-divider {
    height: 8px;
    background-color: #dfdfdf;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

/* Styling für "Keine Ergebnisse" */
.no-search-results {
    text-align: center;
    padding: 30px 0;
    color: #777;
}

.owl-emoji {
    font-size: 36px;
    display: block;
    margin-bottom: 10px;
}

.search-no-results-text {
    font-size: 14px;
    font-style: italic;
    color: #333;
    margin-top: 10px;
}

/* Lade-Indikator */
.search-loading {
    text-align: center;
    padding: 20px;
    color: #666;
    font-style: italic;
}

/* Fehleranzeige */
.search-error {
    text-align: center;
    padding: 20px;
    color: #e74c3c;
    font-weight: bold;
}

/* Styling für die Suchergebnis-Elemente */
.search-result-item {
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-result-item:hover {
    background-color: #eee;
}

.search-result-item.current-user {
    opacity: 0.7; /* Leicht ausgegraut */
}

.search-result-item:not(.current-user):hover {
    background-color: #eee; /* Hover-Effekt nur für klickbare Items */
    cursor: pointer;
}




/* Chat header */
.chat-header {
    position: sticky;
    top: 0;
    background: #dfdfdf;
    padding: 10px 20px;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 61px;
    z-index: 999;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

@media (max-width: 750px) {
    .chat-header {
        padding: 10px 20px 10px 10px;
    }
}

@media (max-width: 350px) {
    .chat-header {
        padding: 10px 5px;
    }
}

.chat-header-wrapper {
    display: flex;
    /* Flexbox aktivieren */
    align-items: center;
    /* Vertikal zentrieren */
    justify-content: space-between;
    /* Platz zwischen den Elementen */
}

.chat-header-info {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.chat-header-info-group {
    display: flex;
    flex-direction: column;
}

.chat-header-nickname {
    font-weight: bold;
    text-align: left;
}

.chat-header-status {
    font-size: 12px;
    color: #666;
    text-align: left;
}

.menu-dots {
    cursor: pointer;
    position: relative;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    align-items: center;
    justify-content: center;
    display: flex;
    font-size: 18pt;
    font-weight: bold;
    color: #783487;
}

.menu-dots:hover {
    background-color: #ccc;
}


.menu-dots-content {
    font-size: 10pt;
    min-width: 150px;
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.menu-dots-content.active {
    display: block;
}

.menu-dots-content a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    color: #647cc4;
    white-space: nowrap;

}

.menu-dots-content a:hover {
    background: #f1f1f1;
}




/* Chat Window */
.chat {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #f9f9f9;
    /* background-image: url('img/eulenlogo_3_blau.png'); 
    background-size: 89px 107px; */   
    background-repeat: repeat;
    background-image: url('img/eulenhintergrund_15.png');
    background-size: 500px 750px;
    position: relative;
}

.no-messages {
    text-align: center;
    padding: 50px;
    color: #777;
}

.owl-emoji {
    font-size: 50px;
    margin-bottom: 10px;
}

.start-chat-text {
    font-size: 14px;
    font-style: italic;
    color: #333;
}

.date-divider {
    text-align: center;
    color: #666;
    font-size: 9pt;
    clear: both;
    width: 100px;
    border: 1px solid #ddd;
    padding: 3px;
    background-color: #eee;
    margin: 10px auto 5px auto;
    border-radius: 20px;
}

.sticky-date {
    position: sticky;
    top: 5px;
    z-index: 100;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 0 20px;
    position: relative;
    max-height: calc(var(--vh, 1vh) * 100 - 60px); /* Anpassen je nach Höhe der Eingabezeile */
}

.message-container {
    position: relative;
    display: flex;
    align-items: flex-end;
    margin: 8px 0;
    gap: 5px;
    width: 100%;
}

.message-container.received {
    padding-left: 0;
    justify-content: flex-start;
}

/* Füge padding-left nur für Gruppenchats hinzu */
.chat.group-chat .message-container.received {
    padding-left: 40px;
}

.chat.group-chat .message-container.received.with-profile {
    padding-left: 0;
}

.message-container.sent {
    justify-content: flex-end;
}

.message-container.received.with-profile {
    padding-left: 0;
}

.message-profile-pic {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 2px;
    flex-shrink: 0;
}

.message-profile-pic[src="img/eulenlogo.png"] {
    padding: 2px;
    background-color: #f5f5f5;
}


.message {
    max-width: 80%;
    margin: 0; /* Margin von 5px auf 0 geändert */
    padding: 9px;
    border-radius: 12px;
    font-size: 10pt;
}

@media (max-width: 350px) {
    .chat-header {
        max-width: 100%;
    }
}

.message.received {
    background-image: linear-gradient(to right, #dfdfdf 50%, #e9e9e9 100%);
    float: left;
    clear: both;
    text-align: left;
}

.message.sent {
    /*background: #783487;*/
    background-image: linear-gradient(to right, #783487 50%, #9d44b0 100%);
    color: white;
    float: right;
    clear: both;
    text-align: left;
}

.message.sent .message-time {
    font-size: 11px;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.7);
}

.message.received .message-time {
    font-size: 11px;
    margin-top: 2px;
    color: rgba(0, 0, 0, 0.5);
}

.message-status {
    font-size: 12px;
    margin-top: 2px;
    text-align: right;
    color: #ddd;
    opacity: 0.7;
}

.message-status img {
    height: 8px;
}

.message-footer {
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
    gap: 5px;
}

.message.received .message-footer {
    justify-content: flex-end;
}

/* Stil für den Beitragsnamen unterhalb des Benutzernamens */
.message-contribution {
    font-size: 8pt;
    font-weight: normal;
    color: #777;
    margin-top: -2px;
    margin-bottom: 2px;
}

/* Anpassung für die Nachrichtensender-Info */
.message-sender {
    font-weight: bold;
    font-size: 9pt;
    margin-bottom: 0px; /* Weniger Abstand zum Beitragsnamen */
}

.exchange-request {
    margin: 10px 0;
    padding: 9px;
    border-radius: 12px;
    font-size: 10pt;
    text-align: center;
    box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.2);
    /* Schatten rechts unten */
    min-width: 250px;
}

.message.exchange-request.received {
    float: left;
    clear: both;
    text-align: center;
}

.message.exchange-request.sent {
    background: #783487;
    float: right;
    clear: both;
    text-align: center;
}

.message.exchange-request.sent p,
.message.exchange-request.sent h4 {
    color: #f4f4f4;
}

.message.exchange-request.sent a {
    color: #e0c792;
}

.exchange-request h4 {
    margin-top: 0;
    background-color: transparent;
    color: black;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.exchange-request p {
    margin: 5px 0;
    color: #000;
}


.exchange-request .shift-info {
    font-size: 12px;
    font-weight: bold;
}

.message-actions button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 12px;
    margin: 5px;
}


.message-actions .btn-accept {
    background-color: #783487;
    /* Lila für Annehmen */
    color: white;
    position: relative;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.message-actions .btn-accept:after {
    content: '✔';
    /* Haken-Symbol */
    margin-left: 10px;
}

.message-actions .btn-accept:hover {
    background-color: #9d44b0
}



.message-actions .btn-decline {
    background-color: #666;
    /* Grau für Ablehnen */
    color: white;
    position: relative;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    /* Schatten rechts unten */
}

.message-actions .btn-decline:after {
    content: '✘';
    /* X-Symbol */
    margin-left: 10px;
}

.message-actions .btn-decline:hover {
    background-color: #888
}



.message-actions .btn-cancel {
    background-color: #eee;
    /* Grau für Ablehnen */
    color: #000;
    position: relative;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.message-actions .btn-cancel:after {
    content: '✘';
    /* X-Symbol */
    margin-left: 10px;
}

.message-actions .btn-cancel:hover {
    background-color: #ccc
}



/* Allgemeiner Stil für die exchange-status Klasse */
.exchange-status {
    font-weight: bold;
    font-style: italic;
    text-align: center;
    margin-top: 10px;
}

.exchange-cancelled:after,
.exchange-declined:after {
    content: '✘';
    /* X-Symbol */
    margin-left: 2px;
}

.exchange-accepted:after {
    content: '✔';
    /* Haken-Symbol */
    margin-left: 2px;
}

.received .exchange-accepted {
    color: #155724;
}

.received .exchange-declined {
    color: #721c24;
}

.received .exchange-cancelled {
    color: #6c757d;
}


.sent .exchange-accepted {
    color: #e0c792;
}

.sent .exchange-declined {
    color: #ccc;
}

.sent .exchange-cancelled {
    color: #ccc;
}


.exchange-status.default {
    color: #888;
}


.special-content {
    padding-top: 20px;
}

.special-content .message {
    background-color: white;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1rem;
    max-width: 100%;
    width: 100%;
}

@keyframes pulse-border {
    50% {
        box-shadow: 0 0 10px #ff5555;
    }
}

.pulse-border {
    border: 1px solid #f00;
    animation: pulse-border 1.5s infinite;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.special-content .message h4 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
}

.special-content .message p,
.special-content .message button {
    margin: 0 0 0.5rem 0;
}

.special-content .message-footer {
    font-size: 11px;
    color: #777;
}

.category-allgemein {
    color: #666;
}

.category-hinweis {
    color: orange;
}

.category-dringend {
    color: red;
}




/* Chat Input */
.chat-input-container {
    display: flex;
    align-items: flex-end;
    padding: 5px 20px 20px 20px;
    gap: 8px;
    position: relative;
}

.input-wrapper {
    display: flex;
    align-items: flex-end;
    background: #dfdfdf;
    border-radius: 10px;
    flex-grow: 1;
}

.chat-input {
    padding: 15px 0 15px 0;
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: 10pt;
    resize: none;
    height: 10px;
    max-height: 150px;
    overflow-y: auto;
    width: 100%;
    line-height: 1.1;
    margin-right: 5px;
}

.chat-input:focus {
    outline: none;
}

/* Einheitliche Zeilenhöhe für Emojis */
.chat-input,
.message {
    line-height: 1.2em;
}

.chat-input::-webkit-scrollbar,
.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.conversations::-webkit-scrollbar {
    width: 0px;
}

.chat-input::-webkit-scrollbar-thumb,
.chat-messages::-webkit-scrollbar-thumb,
.conversations::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.chat-input:not(:hover)::-webkit-scrollbar-thumb,
.chat-messages:not(:hover)::-webkit-scrollbar-thumb,
.conversations:not(:hover)::-webkit-scrollbar-thumb {
    background-color: transparent;
}

.emoji-picker-container {
    position: relative;
    margin-right: 8px;
}

.emoji-trigger {
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    padding: 0px;
    margin: 0px 10px 7px 10px;
    transition: transform 0.2s;
}

.emoji-trigger:hover {
    transform: scale(1.1);
    background: none;
}

.emoji-popup {
    position: absolute;
    bottom: 100%;
    left: 20;
    background: rgba(249, 249, 249, 0.8);
    ;
    backdrop-filter: blur(5px);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
    padding: 5px;
    z-index: 1000;
}

.emoji-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0px;
}

.emoji {
    font-size: 1.5em;
    padding: 5px;
    cursor: pointer;
    text-align: center;
    transition: transform 0.2s;
    border: 1px solid rgba(0, 0, 0, 0.0);
}

.emoji:hover {
    transform: scale(1.0);
    background: #f5f5f5;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
}


.send-button {
    background: rgba(0, 0, 0, 0.1);
    border: none;
    color: #783487;
    padding: 5px 5px 4px 5px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5em;
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-bottom: 2px;
}


.send-button:hover {
    background: #783487;
    color: #fff;
    transform: scale(1.1);
}

/* Scroll to Bottom Button */
.scroll-to-bottom {
    position: absolute;
    bottom: 80px;
    right: 5px;
    background-color: #dfdfdf;
    color: #555;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: opacity 0.3s;
    z-index: 1000;
    padding: 0 0 5px 1px;
}

.scroll-to-bottom:hover {
    color: #fff;
    background-color: #9d44b0;
}


/* Styles für die Mention-Funktion */
.mention-popup {
    position: fixed;
    display: none;
    background-color: #ffffff;
    border: 1px solid #aaaaaa;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    z-index: 10000;
    max-height: 200px;
    overflow-y: auto;
    width: 250px;
    padding: 0;
}

.mention-item {
    display: flex;
    align-items: center;
    padding: 4px 8px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

.mention-item:hover, 
.mention-item.selected {
    background-color: #f5f5f5;
}

.mention-item:last-child {
    border-bottom: none;
}

.mention-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 8px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
}

.mention-nickname {
    font-size: 13px;
    color: #333;
    font-weight: 500;
}

.no-mention-results {
    padding: 4px 8px;
    text-align: center;
    color: #666;
    font-style: italic;
    font-size: 12px;
}

/* Adaptive Farben für Mentions */
.message.sent .mentioned {
    font-weight: bold;
    color: #e0c792;
}

.message.received .mentioned {
    font-weight: bold;
    color: #c01548;
}

/* Styles für Edit-Funktionalität */
.edit-context-menu {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    font-size: 10pt;
}

.edit-option {
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.edit-option:hover {
    background-color: #f5f5f5;
}

.chat-input-container.edit-mode .input-wrapper{
    box-shadow: 0px 0px 5px #783487;  
}

.cancel-edit-button {
    margin-right: 5px;
    background-color: #783487;
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    transition: transform 0.2s;
}

.cancel-edit-button:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #783487;
    transform: scale(1.2);    
}

.message.editing {
    background-image: linear-gradient(to right, #783487b5 50%, #9d44b0c4 100%);
}

.message.sent .edited-indicator {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    cursor: help;
}

.message.received .edited-indicator {
    font-size: 11px;
    color: rgba(0, 0, 0, 0.5);
    cursor: help;
}

/* Style the tooltip better when hovering */
.edited-indicator:hover {
    text-decoration: underline dotted;
}







/* Basis-Styles für die Transition */
.conversations,
.chat,
.msg-search-container {
    transition: all 0.3s ease-in-out;
}

/* Mobilansicht: Wenn die Breite des Bildschirms < 750px ist */
@media (max-width: 750px) {

    .conversations {
            border: none;
        }
    

    .conversation-item {
        margin: 0;
        border-radius: 0px;
        border-bottom: 1px solid #ccc;
    }

    /* Überdeckt die ersten 20px des Borders */
    .conversation-item::before {
        content: '';
        position: absolute;
        bottom: -1px; /* Positioniert unterhalb des Elements, um den Border zu überdecken */
        left: 0;
        width: 55px; /* Breite des überdeckten Bereichs */
        height: 1px; /* Höhe des Borders */
        background-color: #dfdfdf; /* Gleiche Farbe wie der Hintergrund der .conversations */
        z-index: 1; /* Über dem Border, aber unter dem Inhalt */
    }

    .no-messages {
        display: none;
    }

    .main-chat {
        padding-top: 80px;
        padding-bottom: 0px;
    }

    .container {
        flex-direction: column;
        width: auto;
        position: relative;
        overflow: hidden;
        /* Verhindert horizontales Scrollen während der Animation */
        height: calc(var(--vh, 1vh) * 100 - 96px - 40px);
        border-radius: 0px;
        box-shadow: none;
    }

    /* Linke Leiste mit Transform statt display none */
    .conversations {
        position: absolute;
        left: -100%;
        /* Initial außerhalb des Viewports */
        width: 100%;
        height: var(--vh, 1vh) * 100;
        z-index: 20;
    }

    /* Wenn mobile-expanded aktiv ist */
    .container.mobile-expanded .conversations {
        left: 0;
        height: calc(var(--vh, 1vh) * 100 - 36px - 40px);
    }

    /* Chat-Bereich */
    .chat {
        width: 100%;
        height: calc(var(--vh, 1vh) * 100 - 170px);
        display: flex;
        flex-direction: column;
        transform: translateX(0);
    }

    .container.mobile-expanded .chat {
        transform: translateX(100%);
        /* Slide out nach rechts */
    }

    /* Rest der Mobile-Styles bleiben gleich */
    .chat-messages {
        min-width: 250px;
        flex: 1;
        overflow-y: auto;
        padding: 20px;
    }

    .chat-input-container {
        position: sticky;
        bottom: 0;
        z-index: 10;
        padding: 0px;
        background-color: #dfdfdf;
    }

    .send-button {
        background: none;
        -webkit-tap-highlight-color: transparent;
    }

    .send-button:hover,
    .send-button:focus {
        background: none;
        color: #783487;
    }

    .send-button:active {
        color: #9d44b0;
    }

    .chat-header .toggle-conversations {
        background: none;
        color: #783487;
        border-radius: 50%;
        cursor: pointer;
        width: 35px;
        height: 35px;
        align-items: center;
        justify-content: center;
        display: flex;
        margin-right: 10px;
    }

    .chat-header .toggle-conversations:hover {
        background: #c2c2c2;
        transform: scale(1.1);
    }
}

@media (max-width: 350px) {
    .chat-messages {
        padding: 10px;
    }
}

@media (min-width: 750px) {
    .chat-header .toggle-conversations {
        display: none;
    }
}

@media (max-height: 750px) {
    .container {
        height: calc(var(--vh, 1vh) * 100 - 36px - 40px);
        border-radius: 0px;
        box-shadow: none;
    }

    .main-chat {
        padding-top: 50px;
        padding-bottom: 0px;
    }
}














/* Footer */


.wrapper {
    min-height: 100%;
    /* Stellt sicher, dass der Inhalt mindestens die gesamte Höhe einnimmt */
    display: flex;
    flex-direction: column;
}


/* Hauptinhalt */
.sitecontent {
    flex: 1;
    /* Dehnt den Hauptinhalt aus */
    background-image: url('img/eulenlogo_3.png');
    background-repeat: repeat;
    /* Muster wiederholen */
    background-size: 300px 358px;
    /* Optional: Größe des Musters anpassen */
}

footer {
    margin-top: 50px;
    padding: 20px;
    background-color: #f1f1f1;
    font-size: 14px;
    text-align: center;
    margin-top: auto;
    /* Stellt sicher, dass der Footer am Ende der Seite bleibt */
    width: 100%;
    box-shadow: -2px 0px 6px rgba(0, 0, 0, 0.3);
}


@media (max-height: 750px) {
    footer {
        padding: 5px;
    }
}

/* Zentriere den Text im Footer */
footer p {
    margin: 0;
    color: #333;
    /* Textfarbe */
}

@media (max-width: 350px) {
    .footer-copyright {
        display: none;
    }
}






/* Mitfahren */
.carpool-form {
    display: flex;
    flex-direction: column;
    gap: 10px; /* 10px Abstand zwischen Feldern */
}
.carpool-form label {
    margin-top: 10px;
}

.carpool-form .profile-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 11pt;
}

.carpool-form .profile-input[type="textarea"] {
    height: 100px;
    resize: vertical;
}
.carpool-form button.btn {
    align-self: flex-start;
    margin-top: 10px;
}
.carpool-offers {
    display: flex;
    flex-direction: column;
    gap: 20px; /* 20px Abstand zwischen Einträgen */
}
.carpool-offer {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 11pt;
}
.carpool-offer form {
    margin-top: 10px;
}







/* Registrieren */
.profile-container-register {
    max-width: 600px;
    /* Setzt die maximale Breite auf 600px */
    margin: 0 auto;
    padding: 120px 20px 20px 20px;
}

#priv_agreement {
    display: inline-block !important;
    /* Sichtbarkeit erzwingen */
    visibility: visible !important;
    /* Sichtbarkeit sicherstellen */
    min-width: 12px !important;
    /* Standardbreite wiederherstellen */
    height: 20px !important;
    /* Standardhöhe wiederherstellen */
    z-index: 2 !important;
}

/* Anpassen der Formgruppe für die Checkbox und das Label */
.form-group.checkbox-group {
    display: flex;
    align-items: center;
    /* Zentriert die Checkbox und das Label vertikal */
    flex-direction: row;
}

.form-group.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    /* Abstand zwischen der Checkbox und dem Label */
}

.info-message-container {
    max-width: 600px;
    margin: 100px auto; /* Zentriert die Box */
    padding: 20px;
    border-radius: 10px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.info-message-container h2 {
    color: #783487;
}
.info-message-container a {
    color: #783487;
    text-decoration: none;
    font-weight: bold;
}
.info-message-container a:hover {
    text-decoration: underline;
}


/*++++++++++++++ ANFANG QUERFORMAT ++++++++++++++++
div {border: 1px solid darkred;}
p {border: 1px solid green;}
*/

@media (max-height: 650px) and (orientation: portrait) {
    .reg-arriving-logo {
        display: none;
    }
    .reg-hr {
        display: none;
    }    
}

/* Spezielles Layout für das erste Overlay in choose-shift.php bei Querformat */
@media (max-height: 650px) and (orientation: landscape) {

    #reg-welcome {
        align-items: flex-start;
        overflow-y: auto;
    }

   .reg-hr {
        display: none;
    }

    .reg-welcome-description-container {
        max-width: 95%;
        width: 95%;
        padding: 10px;
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-rows: 30px 20px auto auto auto;
        grid-gap: 5px;
        align-items: start;
        margin: auto auto;
    }
    
    /* Eule links */
    .reg-arriving-logo, .reg-logo, .reg-staying-logo {
        width: 60px;
        grid-column: 1;
        grid-row: 1 / 3;
        margin: 0;
    }
    
    /* Überschriften rechts daneben, linksbündig */
    .reg-welcome-description-head {
        font-size: 20pt;
        grid-column: 2;
        grid-row: 1;
        margin: 0;
        text-align: left;
    }
    
    .reg-welcome-description-top {
        font-size: 11pt;
        grid-column: 2;
        grid-row: 2;
        margin: 0;
        text-align: left;
    }
        

    .reg-welcome-description-container > .reg-welcome-description-bottom:nth-child(5) {
        font-size: 10pt;
        grid-column: 2;
        grid-row: 3;
        margin: 0;
        text-align: left;
    }

    .reg-welcome-description-container > .reg-welcome-description-bottom:nth-child(5) strong, 
    .reg-welcome-description-container > .reg-welcome-description-bottom:nth-child(5) span {
        font-size: 10pt !important;
    }
    
    /* Und das zweite Element, wenn es existiert */
    .reg-welcome-description-container > .reg-welcome-description-bottom:nth-child(7) {
        font-size: 10pt;
        grid-column: 1 / 3;
        grid-row: 5;
        margin: 3px 0;
        text-align: right;
        margin-top: 15px;
    }

    /* Hint-Container nach rechts verschieben */
    .hint-container {
        grid-column: 3;
        grid-row: 1 / 3;
        margin: 0;
        width: 190px;
        height: fit-content;
        font-size: 9pt;
        margin-top: 0 !important;
    }
    
    /* Tickets unter allem anderen */
    .welcome-table {
        grid-column: 1 / 4;
        grid-row: 4;
        margin: 0 !important;
        width: 100%;

    }
    
    .welcome-table .first-col .first-col-content > div:first-child {
        margin-top: 25px !important; /* Neuer Wert */
        text-align: right;

    }

    .welcome-table .first-col .first-col-content > div:nth-child(2) {
        margin-top: 65px !important; /* Neuer Wert */
        text-align: right;
    }    

    .welcome-table .first-col .first-col-content > div:nth-child(3) {
        text-align: right;
    }  

    .ticket-title {
        padding: 5px 0 !important;
    }

    .ticket-info {
        margin: 5px 0 !important;
    }

    .ticket-price {
        margin-top: 0 !important;
    }

    /* Volle Schichten und Eulensystem Hinweis unter der Tabelle */
    .no-space-available {
        grid-column: 3;
        grid-row: 5;
        margin: 10px 0 0 0 !important;
    }
    
    .reg-welcome-description-foot {
        grid-column: 1 / 4;
        grid-row: 6;
        font-size: 9pt;
        margin: 0;
    }
    
    /* Optimierungen für die Tickets */
    .ticket-column {
        padding: 3px;
    }
    
    .ticket-title {
        padding: 5px 0;
        font-size: 10pt;
    }
    
    .ticket-info, .ticket-engagement, .ticket-price {
        margin: 5px 0;
        font-size: 9pt;
    }
    
    .shift-examples {
        font-size: 9pt;
    }
    
    .reg-welcome-description-foot.eul-shift-info {
        display:none;
    }

    /* Buttons kleiner machen für andere Overlays */
    .btn-login, .btn-back, .reg-button-confirm, .reg-button-contribution {
        padding: 5px;
        font-size: 10pt;
        width: auto !important;
        margin: 2px;
    }
    
    /* Account-Abfrage Page (account_check.php) */
    .option-buttons {
        display: flex;
        justify-content: center;
        gap: 10px;
    }
    
    .option-buttons form {
        margin: 0;
    }

    /* Bestätigungsseite (confirmation.php) 
    .reg-welcome-description-shift {
        margin: 5px 0;
        padding: 5px;
        width: 100%;
    }
    
    .reg-button-confirm {
        margin: 5px;
        padding: 8px;
    }
    */

    /* Email */
    .reg-welcome-description-container > .reg-welcome-description-bottom:nth-child(6).partner {
        font-size: 10pt;
        grid-column: 1 / 3;
        grid-row: 4;
        margin: 0;
        text-align: left;
    }
    /* Wir schauen ob... */
    .reg-welcome-description-container > .reg-welcome-description-bottom:nth-child(7).partner {
        font-size: 10pt;
        grid-column: 1 / 3;
        grid-row: 5;
        margin: 0;
        border-bottom: 0px !important;
        padding-bottom: 0px !important;
        text-align: left;
    }

    /* Koordination */
    .reg-welcome-description-container > .reg-welcome-description-bottom:nth-child(8).partner {
        font-size: 10pt;
        grid-column: 3;
        grid-row: 1;
        margin: 0 10px;
    }
    .reg-welcome-description-container > .reg-welcome-description-bottom:nth-child(9).partner {
        font-size: 10pt;
        grid-column: 3;
        grid-row: 2;
        margin: 0 10px;
    }
    .reg-welcome-description-container > .reg-welcome-description-bottom:nth-child(10).partner {
        font-size: 10pt;
        grid-column: 3;
        grid-row: 3;
        margin: 0 10px;
    }
    .reg-welcome-description-container > .reg-welcome-description-bottom:nth-child(11).partner {
        font-size: 10pt;
        grid-column: 3;
        grid-row: 4;
        margin: 0 10px;
    }
    .reg-button-confirm.partner{
        grid-column: 3;
        grid-row: 5;
        margin: 0 10px;
    }


    .shift-card {
        width: 98%;
        margin: 10px auto;
    }

    .shift-card-header {
      display: grid;
      grid-template-columns: 1fr 1fr;
      grid-template-rows: auto auto auto;
      gap: 3px;
    }

    /* h3 (Überschrift) - erste Zeile, linke Spalte */
    .shift-card-header h3 {
      grid-column: 1;
      grid-row: 1;
      margin: 0;
    }

    /* Erster Absatz (Zeitplan) - zweite Zeile, linke Spalte */
    .shift-card-header p:nth-of-type(1) {
      grid-column: 1;
      grid-row: 2;
      margin: 0;
    }

    /* Zweiter Absatz (Event-Link) - erste Zeile, rechte Spalte */
    .shift-card-header p:nth-of-type(2) {
      grid-column: 1;
      grid-row: 3;
      text-align: left;
      margin: 0;
      display: block !important; /* Überschreibt display:none */
    }

    /* Dritter Absatz (Ticketart) - zweite Zeile, rechte Spalte */
    .shift-card-header p:nth-of-type(3) {
      grid-column: 2;
      grid-row: 1;
      text-align: left;
      margin: 0;
    }

    /* Vierter Absatz (Preis) - dritte Zeile, rechte Spalte */
    .shift-card-header p:nth-of-type(4) {
      grid-column: 2;
      grid-row: 2;
      text-align: left;
      margin: 0;
    }

    .shift-card-body {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      gap: 15px;
      overflow-y: auto; /* Falls der Inhalt zu groß wird */
    }

    .shift-card-tasks {
      flex: 1;
      min-width: 45%; /* Mindestbreite für bessere Lesbarkeit */
      background-image: linear-gradient(to right, #e0e0e0 50%, #fff 100%);
    }

    .shift-card-eulen {
      flex: 1;
      min-width: 45%; /* Mindestbreite für bessere Lesbarkeit */
    }

    #shift-card-content {
       width: 95%;
        max-width: 95%; 
    }

}
/*++++++++++++++ ENDE QUERFORMAT ++++++++++++++++*/


/* Tour */

/* Ausblenden des Loading-Overlays in der Tour */
.tour-page #loading-overlay,
#page-content-container #loading-overlay {
    display: none !important;
}

/* Erweiterungen für die tour.php-Seite, um das Burger-Menü standardmäßig auszuklappen */
@media (max-width: 1000px) {
    body.tour-page nav .menu-links {
        display: flex !important;
        /* Menü standardmäßig ausgeklappt */
        flex-direction: column;
        /* Menüelemente untereinander anordnen */
        background-color: #fff;
        position: absolute;
        top: 60px;
        right: 20px;
        width: 100%;
        max-width: 200px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        padding: 0;
        z-index: 999;
        /* Sicherstellen, dass das Menü über allem liegt */
    }
}

/* SVG mask */
#tour-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: auto;
    /* Damit die Maske nicht interaktiv ist */
    z-index: 10000;
}

#tour-text {
    color: white;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10001;
}

/* Frei formatierbarer Container für den Beschreibungstext */
.tour-description-container {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.6);
    color: black;
    max-width: 300px;
    opacity: 0;
    /* Anfangs unsichtbar */
    animation: slideIn2 0.4s ease-out 0.1s forwards;
    /* Animation mit 2.7s Verzögerung */
}

.hidden {
    display: none;
}

.tour-description-head {
    font-size: clamp(24pt, 5vw, 30pt);
    /* Dynamische Schriftgröße, basierend auf der Bildschirmbreite */
    font-weight: bold;
    opacity: 0;
    animation: slideIn2 1s ease-out 1.2s forwards;
    font-family: 'Dancing Script', cursive;
    margin-bottom: 10px;
}

.tour-description {
    font-size: 12pt;
    opacity: 0;
    animation: slideIn2 1s ease-out 1.6s forwards;
    /* 1.8s Verzögerung */
    margin-bottom: 10px;
}

.step-description {
    font-size: 12pt;
    margin-bottom: 20px;
    text-align: left;
}

.arriving_logo {
    opacity: 0;
    /* Anfangs unsichtbar */
    transform: scale(0);
    /* Logo startet als sehr kleiner Punkt */
    animation: grow-logo 1.5s ease-out forwards;
    /* Animation anwenden */
}

@keyframes grow-logo {
    0% {
        opacity: 0;
        /* Unsichtbar am Anfang */
        transform: scale(0);
        /* Startet sehr klein */
    }

    50% {
        opacity: 0.5;
        /* Halb sichtbar in der Mitte der Animation */
        transform: scale(1.2);
        /* Ein wenig größer, um eine kleine "Überdehnung" zu simulieren */
    }

    100% {
        opacity: 1;
        /* Voll sichtbar */
        transform: scale(1);
        /* Endet in normaler Größe */
    }
}

/* Button Container */
.tour-buttons {
    justify-content: center;
    gap: 10px;
    margin: 10px auto 0 auto;
}

/* Base Button Styles */
.tour-button,
#start-tour,
#end-tour-beginning,
#next-step,
#back-step,
#end-tour {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    border: none;
    margin: 0;
}

/* Primary Button Style (Purple) */
#start-tour,
#next-step {
    background-color: #783487;
    color: white;
}

/* Secondary Button Style (Gray) */
#end-tour-beginning,
#end-tour,
#back-step {
    background-color: #999;
    color: white;
}

#back-step:hover {
    background-color: #888;
}

#back-step,
#next-step {
    margin-bottom:10px;
}

#back-step:disabled, 
#next-step:disabled {
    background-color: #ccc;
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Animation Styles */
.tour-button {
    opacity: 0;
    animation: slideIn2 1s ease-out 3.0s forwards;
}

#start-tour,
#end-tour-beginning {
    opacity: 0;
    animation: slideIn2 1s ease-out 2.0s forwards;
}

/* Mobile Styles */
@media (max-width: 750px) {
    .tour-buttons {
        flex-wrap: wrap;
    }

    #tour-text {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        z-index: 10001;
        width: calc(100% - 40px);
    }

    .tour-description-container {
        position: fixed;
        bottom: 20px;
        left: 10px;
        right: 10px;
        max-width: none;
        width: auto;
        margin: 0 auto;
        padding: 20px;
        background-color: rgba(255, 255, 255, 0.9);
        border-radius: 10px;
    }

    #start-tour,
    #end-tour-beginning,
    #next-step,
    #back-step {
        width: 40%;
        margin: 5px;
        padding: 10px;
    }

    #end-tour {
        width: fit-content;
        margin: 5px;
        padding: 10px;
    }

}


/* FAQ-Bereich */
.faq-in-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 0px;
}

.faq-in-container h2 {
    text-align: center;
    margin-bottom: 20px;
}

.faq-item {
    margin-bottom: 0px;
    border: 1px solid #ccc;
    border-radius: 0px;
}

.faq-question {
    background-color: #f9f9f9;
    padding: 15px;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    border-bottom: 1px solid #ccc;
    align-items: center;
    /* zentriert beide Elemente vertikal */
}

.faq-question span {
    text-align: left;
    display: inline-block;
}


.faq-answer {
    padding: 15px;
    display: none;
    background-color: #f1f1f1;
    text-align: left;
    font-size: 10pt;
}

.faq-answer p {
    margin-bottom: 5px;
}

.faq-toggle {
    font-size: 26px;
    font-weight: bold;
    margin-left: 10px;
    color: #999;
}



/* Animationen */

@keyframes slideIn5 {
    from {
        transform: translateX(-5%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideIn2 {
    from {
        transform: translateX(-2%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}


/* Animation anwenden auf die welcome-message */
.welcome-message {
    opacity: 0;
    animation: slideIn5 0.3s ease-out 0.1s forwards;
}

/* Animation anwenden auf die login-container */
.login-container {
    opacity: 0;
    animation: slideIn5 0.3s ease-out 0.2s forwards;
}

/* Animation anwenden auf die login-container */
.additional-options {
    opacity: 0;
    animation: slideIn5 0.3s ease-out 0.3s forwards;
}

.profile-container,
.search-result,
.shift-card,
.overlay-close,
.exchange-container,
.exchange-container-request,
.profile-container-register,
.event-info-content p {
    opacity: 0;
    animation: slideIn2 0.2s ease-out 0s forwards;
}







/* DSGVO */
.dsgvo-content {
    width: 600px;
    /* Setzt die Breite auf 600px */
    text-align: left;
    /* Text linksbündig */
    margin: 20px auto;
    box-sizing: border-box;
    /* Sorgt dafür, dass Padding innerhalb der Breite bleibt */
}

.dsgvo-content p {
    margin: 20px auto;
}

@media (max-width: 600px) {
    .dsgvo-content {
        width: 90%;
        /* Bei kleineren Bildschirmen wird die Breite auf 90% des Viewports reduziert */
    }
}


/* Der Overlay-Container */
.dsgvo-overlay {
    display: none;
    /* Standardmäßig ausgeblendet */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    /* Hintergrundfarbe mit Transparenz */
    z-index: 9999;
    /* Sicherstellen, dass das Overlay oben ist */
}

/* Der Inhalt des Overlays */
.dsgvo-overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    width: 80%;
    max-width: 600px;
    box-sizing: border-box;
    border-radius: 5px;
}

/* Der Schließen-Button */
.dsgvo-close-btn {
    background-color: #ccc;
    border: 1px solid #aaa;
    font-size: 12pt;
    color: #333;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 20px;
    padding: 5px;
}

.dsgvo-close-btn:hover {
    background-color: #ddd;
}

/* Stil für das iframe, das die Datenschutzerklärung enthält */
iframe {
    width: 100%;
    height: 80vh;
}

/* DSGVO */
.dsgvo-iframe-content {
    text-align: left;
    /* Text linksbündig */
    margin: 20px auto;
    box-sizing: border-box;
    /* Sorgt dafür, dass Padding innerhalb der Breite bleibt */
    padding-top: 20px;
}

.dsgvo-iframe-content p {
    margin: 20px auto;
}

.dsgvo-iframe-content h2 {
    margin-top: 20px;
}

@media (max-width: 600px) {
    .dsgvo-overlay-content {
        width: 95%;
        /* Bei kleineren Bildschirmen wird die Breite auf 90% des Viewports reduziert */
    }

    .dsgvo-iframe-content p {
        margin: 20px auto;
        text-align: justify;
        word-wrap: break-word;
        /* Erzwingt den Umbruch bei langen Wörtern */
        hyphens: auto;
        /* Ermöglicht den automatischen Bindestrichumbruch */
    }

    .dsgvo-close-btn {
        right: 10px;
    }

}





/* Event Info */
.event-info-content {
    width: 600px;
    /* Setzt die Breite auf 600px */
    text-align: left;
    /* Text linksbündig */
    margin: 20px auto;
    box-sizing: border-box;
    /* Sorgt dafür, dass Padding innerhalb der Breite bleibt */
}

.event-info-content p {
    margin: 20px auto;
}

@media (max-width: 600px) {
    .event-info-content {
        width: 90%;
        /* Bei kleineren Bildschirmen wird die Breite auf 90% des Viewports reduziert */
    }
}