/* Open Sans Font-Face Optimierung */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/open-sans-v34-latin-300.woff2') format('woff2'),
    url('../fonts/open-sans-v34-latin-300.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v34-latin-regular.woff2') format('woff2'),
    url('../fonts/open-sans-v34-latin-regular.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/open-sans-v34-latin-500.woff2') format('woff2'),
    url('../fonts/open-sans-v34-latin-500.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v34-latin-700.woff2') format('woff2'),
    url('../fonts/open-sans-v34-latin-700.woff') format('woff');
    font-display: swap;
}

/* Basis-Styles */
:root {
    --bs-font-sans-serif: "Open Sans", sans-serif;
    --primary-color: #007bff;
    --background-color: #000; /* Schwarz, falls Bild nicht geladen wird */
}

html, body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    background-color: black;
    overflow: hidden;
    font-family: var(--bs-font-sans-serif), sans-serif;
}


#app-container {
    position: relative;
}

.form-control::placeholder {
    color: grey;
}


.modal-dialog,
.modal-content {
    overflow: visible !important;
}

#background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

#partymodus-scary-foto {
    position: absolute;
    inset: 0;
    z-index: 9999;
    background-color: black;
    overflow: hidden;
}

#partymodus-scary-foto img {
    width: 100vw;
    height: 100vh;
    object-fit: fill; /* <-- erlaubt Verzerrung */
    display: block;
}

/* meine Container innerhalb vom Container */
#getraenke-auswahl {
    position: absolute;
    /*background-color: rgba(255,255,255, .3);*/
    width: 100%;
    height: 90px;
    bottom: 50%;
    left: 0;
    right: 0;
    transform: translateY(5px);
    z-index: 20;
}




#slider-finger-rechts {
    position: absolute;
    bottom: calc(50% + 0px);
    left: calc(50% + 45px);
    width: 50px;
    /*background-color: rgba(0, 0, 0, 0.6);*/
    display: flex;
    flex-direction: column;
    z-index: 18;
}

#slider-finger-links {
    position: absolute;
    bottom: calc(50% + 0px);
    right: calc(50% + 45px);
    width: 50px;
    /*background-color: rgba(0, 0, 0, 0.6);*/
    display: flex;
    flex-direction: column;
    z-index: 18;
}




/* meine Container innerhalb vom Container */
#getraenke-inhalt-einstellung {
    position: absolute;
    bottom: calc(50% + 100px);
    /*background-color: rgba(0,0,0, .5);*/
    width: 100%;
    padding-top: 5px;
    left: 0;
    right: 0;
    z-index: 25;
    white-space: nowrap;
}

#weitere-tresenbilder {
    position: absolute;
    /*background-color: rgba(21, 35, 184, 0.3);*/
    width: 100%;
    height: 40px;
    bottom: 140px;
    left: 0;
    right: 0;
    z-index: 30;
}



#getraenke-name {
    position: absolute;
    /*background-color: rgba(255,255,255, .3);*/
    color: white;
    width: 100%;
    height: 60px;
    line-height: 1;
    top: 50%;
    text-align: center;
    left: 0;
    right: 0;
    transform: translateY(10px);
    z-index: 20;
}


#lokal-hintergrund-wechsel {
    position: absolute;
    /*background-color: rgb(0, 0, 0);*/
    width: 100%;
    height: 110px;
    bottom: 50px;
    left: 0;
    right: 0;
    z-index: 20;
}

#getrunken-uebersicht {
    position: absolute;
    background-color: rgba(0,0,0, .5);
    color: white;
    width: 100%;
    height: 50px;
    bottom: 0;
    text-align: center;
    left: 0;
    right: 0;
    z-index: 20;
}

#getrunken-uebersicht-statistik {
    position: absolute;
    /*background-color: rgba(0,0,0, 1);*/
    color: white;
    width: 100%;
    height: 50px;
    bottom: 0;
    text-align: center;
    left: 0;
    right: 0;
    z-index: 50;
}

#obere-leiste {
    position: absolute;
    background-color: rgba(0,0,0, .5);
    width: 100%;
    height: 43px;
    top: 0;
    right: 0;
    z-index: 10;
}

#nav-menu {
    position: absolute;
    /*background-color: rgba(255,255,255, .5);*/
    width: 40px;
    height: 40px;
    top: 2px;
    right: 5px;
    z-index: 20;
}

#profil-auswahl {
    position: absolute;
    /*background-color: rgba(255,255,255, .5);*/
    width: 35px;
    height: 35px;
    top: 2px;
    right: 55px;
    z-index: 20;
}

#freund-hinzufuegen {
    position: absolute;
    /*background-color: rgba(255,255,255, .5);*/
    width: 40px;
    height: 40px;
    top: 2px;
    right: 95px;
    z-index: 20;
}

#freunde-nachrichtenfenster {
    position: absolute;
    top: calc(50% + 120px);
    left: 10px;
    right: 10px;
    padding: 5px;
    border-radius: 12px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    max-height: calc(100% - 55px - (50% + 120px));
    display: flex;
    flex-direction: column;
    z-index: 22;
}

.benachrichtigung-header {
    flex-shrink: 0;
}

.benachrichtigung-scroll {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    min-height: 0; /* wichtig bei flex children */
}

.benachrichtigung-scroll::-webkit-scrollbar {
    display: none;
}


#spiele-nachrichtenfenster {
    position: absolute;
    top: calc(50% + 80px);
    left: 10px;
    right: 10px;
    padding: 5px;
    border-radius: 12px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    max-height: calc(100% - 55px - (50% + 80px));
    display: flex;
    flex-direction: column;
    z-index: 20;
}



#navigationsleiste-unten {
    position: absolute;
    background-color: rgba(0,0,0, 0.5);
    color: white;
    width: 100%;
    height: 40px;
    bottom: 50px;
    border-bottom: 1px solid #000000;
    text-align: center;
    left: 0;
    right: 0;
    z-index: 19;
}
#teilen-anzeige {
    position: absolute;
    /*background-color: rgba(0, 0, 0, 0.4);*/
    bottom: 50px;
    right: 35px;
    padding-right: 5px;
    padding-left: 5px;
    padding-bottom: 2px;
    z-index: 20;
    display: flex;
    align-items: center;
    white-space: nowrap;
}
#aktualisieren-anzeige {
    position: absolute;
    /*background-color: rgba(0, 0, 0, 0.4);*/
    bottom: 50px;
    right: 0;
    padding-right: 5px;
    padding-left: 5px;
    z-index: 20;
    display: flex;
    align-items: center;
    white-space: nowrap;
}
#statistik-leiste-anzeige {
    position: absolute;
    /*background-color: rgba(0, 0, 0, 0.4);*/
    bottom: 50px;
    left: 0;
    padding-right: 5px;
    padding-left: 5px;
    padding-bottom: 2px;
    z-index: 20;
    display: flex;
    align-items: center;
    white-space: nowrap;
}
#google-map-anzeige {
    position: absolute;
    /*background-color: rgba(0, 0, 0, 0.4);*/
    bottom: 50px;
    left: 35px;
    padding-right: 5px;
    padding-left: 5px;
    padding-bottom: 5px;
    z-index: 20;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

#inkognito-anzeige {
    position: absolute;
    /*background-color: rgba(188, 11, 11, 0.5);*/
    right: 75px;
    bottom: 50px;
    padding-right: 5px;
    padding-left: 5px;
    padding-bottom: 5px;
    width: 40px;
    height: 40px;
    z-index: 20;
}
#inkognito-anzeige-bild {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: contain; /* Oder "cover", wenn du lieber Beschnitt statt Leerrand willst */
}
#inkognito-anzeige-text {
    position: absolute;
    top: 52px;
    left: 90px;
    padding-right: 5px;
    padding-left: 5px;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.8);
    border: 1px solid white;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

#lokale-map-anzeige {
    position: absolute;
    /*background-color: rgba(0, 0, 0, 0.4);*/
    bottom: 50px;
    left: 75px;
    padding-right: 5px;
    padding-left: 5px;
    padding-bottom: 5px;
    z-index: 20;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

#gluecksrad-nachrichtenfenster {
    position: absolute;
    top: calc(50% + 120px);
    bottom: 60px;
    left: 40px;
    right: 40px;
    padding: 5px;
    border-radius: 12px;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    z-index: 30;
    display: flex;
    justify-content: center;
    align-items: start;
}
#gluecksrad-nachrichtenfenster img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
}
#gluecksrad-zeiger {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    color: red;
    z-index: 40;
}
#gluecksrad-getraenkebild {
    position: absolute;
    z-index: 50;
    width: 50px;
    height: 50px;
    cursor: pointer;
}
#gluecksrad-close {
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 30px;
    color: red;
    cursor: pointer;
    z-index: 100;
    user-select: none;
}

#gluecksrad-anzeige {
    position: absolute;
    /*background-color: rgba(0, 0, 0, 0.4);*/
    bottom: 40px;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    display: flex;
    align-items: center;
    white-space: nowrap;
}


#bmi-auswahl {
    position: absolute;
    width: 175px;
    height: 35px;
    top: 5px;
    left: 5px;
    z-index: 20;

    overflow: hidden;       /* Inhalt wird abgeschnitten */
    white-space: nowrap;    /* Kein automatischer Zeilenumbruch */
    text-overflow: ellipsis;/* ... am Ende bei Überlauf */
}

#promille-figur {
    position: absolute;
    /*background-color: rgba(255,255,255, .5);*/
    line-height: 0;
    font-size: 0;
    width: 80px;
    height: 110px;
    top: 45px;
    left: 5px;
    z-index: 20;
}



#promille-figur-statistik {
    line-height: 0;
    z-index: 20;
}

#promille-anzeige {
    position: absolute;
    background-color: rgba(0,0,0, 0.5);
    width: 80px;
    padding: 0 0 3px; /* optional: Innenabstand oben/unten */
    top: 147px;
    left: 5px;
    z-index: 19;
    line-height: 1.2; /* statt 0 */
}

#letzter-drink {
    position: absolute;
    background-color: rgba(0,0,0, 0.3);
    width: 55px;
    height: 55px;
    top: 50px;
    right: 5px;
    border-radius: 8px;
    z-index: 20;
}

.letztes-getraenk-bild::after {
    content: "test";
    top: 0;
    right: 0;
    position: absolute;
    width: 20px;
    z-index: 23;
}

.benachrichtigungs-punkt {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 8px;
    height: 8px;
    background-color: red;
    border-radius: 50%;
    z-index: 5;
}



#partymodus-anzeige {
    position: absolute;
    right: 10px;
    top: 110px;
    left: 90px;
    height: 65px;
    border-radius: 8px;
    z-index: 20;
    overflow-x: auto;          /* Ermöglicht horizontales Scrollen */
    overflow-y: hidden;
    white-space: nowrap;       /* Verhindert Zeilenumbruch */
    /*background-color: rgba(0, 0, 0, 0.4);*/
    padding: 5px;              /* Optional: etwas Innenabstand */
}
#partymodus-anzeige img {
    height: 100%;              /* Passt Bildhöhe an Container an */
    margin-right: 8px;         /* Abstand zwischen Bildern */
    display: inline-block;
}

#partymodus-letzte-drinks {
    position: absolute;
    top: 190px;
    bottom: calc(50% - 30px);
    left: 5px;
    right: 5px;
    padding: 5px;
    border-radius: 8px;
    border: 2px solid white;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    display: flex;
    flex-direction: column;
    z-index: 20;
    overflow: hidden;
}
.partymodus-letzte-drinks-scroll {
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
}
.partymodus-letzte-drinks-scroll::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

#partymodus-top10 {
    position: absolute;
    top: calc(50% + 40px);
    bottom: 50px;
    left: 5px;
    right: 5px;
    padding: 5px;
    border-radius: 8px;
    border: 2px solid white;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    display: flex;
    flex-direction: column;
    z-index: 120;
    overflow: hidden;
}
.partymodus-top10-scroll {
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
}
.partymodus-top10-scroll::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

#partyzone-countdown {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    left: 95px;
    top: 137px;
    z-index: 10;
    padding: 0;
    display: inline-block;
}

#partymodus-getraenkeliste {
    position: absolute;
    /*background-color: rgba(0,0,0, 0.3);*/
    width: 75px;
    height: 75px;
    top: 50px;
    right: 5px;
    border-radius: 8px;
    z-index: 20;
}

#partymodus-start-ende-anzeige {
    position: absolute;
    /*background-color: rgba(0,0,0, 0.3);*/
    top: 50px;
    right: 5px;
    border-radius: 8px;
    z-index: 20;
    padding: 5px;
    white-space: nowrap; /* optional: verhindert Zeilenumbruch */
}

#partymodus-fotos {
    position: absolute;
    /*background-color: rgba(0,0,0, 0.3);*/
    width: 75px;
    height: 75px;
    top: 50px;
    left: 95px;
    border-radius: 8px;
    z-index: 20;
}

#partymodus-letztes-foto {
    position: absolute;
    /*background-color: rgba(0,0,0, 0.3);*/
    width: 60px;
    height: 70px;
    top: 50px;
    left: 175px;
    border-radius: 8px;
    z-index: 20;
    white-space: nowrap;
}
#partymodus-letztes-foto img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

#partyzone-untere-leiste-code {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    right: 40px;
    height: 20px;
    bottom: 15px;
    z-index: 10;
    padding: 0 10px;
    display: inline-block; /* ← macht es nur so breit wie nötig */
    border-radius: 8px;
}
#partyzone-untere-leiste-admin {
    position: absolute;
    /*background-color: rgba(0, 0, 0, 0.5);*/
    height: 40px;
    bottom: 10px;
    z-index: 50;
    right: 5px;
}


#partyzone-untere-leiste-zurueck {
    position: absolute;
    /*background-color: rgba(0,0,0, .5);*/
    left: 0;
    width: 60px;
    height: 45px;
    bottom: 0;
    z-index: 50;
}

@media(min-width: 576px) {
    #getraenke-auswahl {
        height: 100px;
    }
    #weitere-tresenbilder {
        bottom: 130px;
    }
}

@media(min-width: 768px) {
    #getraenke-auswahl {
        height: 110px;
    }
    #weitere-tresenbilder {
        bottom: 120px;
    }
}

@media(min-width: 992px) {
    #getraenke-auswahl {
        height: 120px;
    }
    #weitere-tresenbilder {
        bottom: 110px;
    }
}
@media(min-width: 1200px) {
    #getraenke-auswahl {
        height: 130px;
    }
    #weitere-tresenbilder {
        bottom: 100px;
    }
}


/* Ladebildschirm */
.loading-screen {
    background-color: rgba(0,0,0,0.7);
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Swiper */
.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    /* text-align: center; */
    font-size: 18px;

    /*display: flex;
    justify-content: center;
    align-items: center;*/

}

.swiper-slide img {
    display: block;
    height: 100%;
    object-fit: contain;
    margin: 0 auto;
}


/* RTL-Unterstützung für Arabisch, Hebräisch, etc. */
[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}


[dir="rtl"] input,
[dir="rtl"] .form-control,
[dir="rtl"] textarea {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .input-group {
    flex-direction: row-reverse;
}

[dir="rtl"] .input-group-text {
    border-left: none;
    border-right: 1px solid #444;
}

[dir="rtl"] .password-toggle {
    border-left: 1px solid #444 !important;
    border-right: none !important;
}

/* Optional: Arabische Web-Font */
[dir="rtl"] {
    font-family: 'Tajawal', 'Open Sans', sans-serif;
    font-size: 1.05em;
    line-height: 1.6;
}
