.shifter-modal {
    width: 1500px; /* Hier können Sie die Breite in Pixeln festlegen */
}
html, body {
    min-height: 100%;
    margin: 0;
    padding: 0;
    background: #08152d;
}



/* =========================================================
   APRIL 2026 POLISH
========================================================= */

.main-nav,
.top-login-only,
.top-dashboard-only {
    position: fixed;
    top: 22px;
    z-index: 2500;
}

.top-login-only {
    right: 26px;
}

.top-dashboard-only {
    left: 26px;
}

.main-nav {
    left: 26px;
    right: 26px;
    top: 18px;
}

.btn-glass {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.7rem 1.15rem;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.24);
    background: rgba(255,255,255,0.10);
    color: #fff;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.22);
    text-decoration: none;
}

.btn-glass:hover {
    color: #08111f;
    background: rgba(255,255,255,0.92);
    text-decoration: none;
}

.site-navbar {
    position: static;
    width: 100%;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 22px;
    background: rgba(10, 18, 32, 0.52);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.24);
}

.site-navbar .container {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

.site-navbar .nav-link,
.site-navbar .navbar-brand,
.site-navbar .dropdown-toggle {
    text-shadow: 0 2px 14px rgba(0,0,0,0.32);
}

.dashboard-page {
    padding-top: 0;
}

.dashboard-hero {
    min-height: 56vh;
    padding: 72px 22px 8px;
}

.dashboard-hero .container {
    max-width: 100%;
}

.dashboard-hero__content--center {
    min-height: calc(56vh - 94px);
    align-items: flex-start;
    justify-content: center;
    margin: 0 auto;
}

.dashboard-welcome-card {
    margin: 0 auto;
    max-width: 640px;
    background: rgba(12, 18, 30, 0.42);
    border-color: rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    padding: 24px 26px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.22);
}

.dashboard-sections {
    padding: 0 0 120px 0;
}

.map-page {
    padding-top: 108px;
}

.map-shell {
    padding: 18px;
}

.world-map {
    height: 48vh;
    min-height: 360px;
    max-height: 560px;
    border-radius: 20px;
}

.map-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.map-toolbar__btn {
    min-height: 46px;
    border-radius: 23px !important;
    padding: 10px 21px !important;
    background: linear-gradient(145deg, rgba(26, 34, 54, 0.72), rgba(8, 13, 25, 0.56)) !important;
    border: 1px solid rgba(255,255,255,0.28) !important;
    color: #fff !important;
    backdrop-filter: blur(16px) saturate(145%);
    -webkit-backdrop-filter: blur(16px) saturate(145%);
    box-shadow: 0 14px 32px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.18);
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.map-toolbar__btn:hover {
    background: linear-gradient(145deg, rgba(38, 49, 76, 0.78), rgba(13, 20, 36, 0.66)) !important;
    border-color: rgba(255,255,255,0.48) !important;
    color: #fff !important;
    box-shadow: 0 16px 36px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.24);
    transform: translateY(-1px);
}

.map-style-picker {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 10px 12px 10px 18px;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(26, 34, 54, 0.72), rgba(8, 13, 25, 0.56));
    border: 1px solid rgba(255,255,255,0.28);
    color: #fff;
    box-shadow: 0 14px 32px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.18);
    backdrop-filter: blur(16px) saturate(145%);
    -webkit-backdrop-filter: blur(16px) saturate(145%);
}

.map-style-picker span {
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
    text-shadow: 0 1px 10px rgba(0,0,0,0.32);
}

.map-style-picker__select {
    min-width: 170px;
    height: 42px;
    border: 1px solid rgba(255,255,255,0.74);
    border-radius: 20px;
    background: rgba(255,255,255,0.92);
    color: #08111f;
    padding: 0 38px 0 15px;
    font-size: 0.98rem;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 8px 18px rgba(0,0,0,0.16);
    outline: none;
}

.map-style-picker__select:focus {
    border-color: rgba(116, 202, 255, 0.95);
    box-shadow: 0 0 0 3px rgba(77, 169, 255, 0.22), inset 0 1px 0 rgba(255,255,255,0.9);
}

.map-style-picker__select:disabled {
    opacity: 0.65;
}

.map-gallery {
    padding: 18px;
}

.map-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 14px;
}

.map-gallery-card {
    border-radius: 16px;
}

.map-gallery-card__media {
    position: relative;
}

.map-gallery-card__thumb {
    aspect-ratio: 16 / 9;
}

.map-gallery-card__hits {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(7, 12, 22, 0.60);
    border: 1px solid rgba(255,255,255,0.16);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.map-gallery-card__body {
    padding: 12px 12px 14px;
}

.map-gallery-card__title {
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.map-gallery-card__meta {
    font-size: 0.82rem;
}

.map-gallery-card__actions {
    margin-top: 10px;
}

.map-gallery-card__btn,
.shifter-action-btn {
    border-radius: 14px;
    padding: 7px 14px;
    background: rgba(255,255,255,0.11);
    border: 1px solid rgba(255,255,255,0.22);
    color: #fff;
    text-decoration: none;
    transition: 0.18s ease;
}

.map-gallery-card__btn:hover,
.shifter-action-btn:hover {
    background: rgba(255,255,255,0.92);
    color: #08111f;
    text-decoration: none;
}

select.shifter-input option,
select.shifter-select option,
#sModal1 select.shifter-input option,
#sModal1 select.shifter-select option {
    background: #fff;
    color: #111827;
}

select.shifter-input option:checked,
select.shifter-input option:hover,
select.shifter-select option:checked,
select.shifter-select option:hover,
#sModal1 select.shifter-input option:checked,
#sModal1 select.shifter-input option:hover,
#sModal1 select.shifter-select option:checked,
#sModal1 select.shifter-select option:hover {
    background: #dbeafe;
    color: #0f172a;
}

.satellite-card__timestamp {
    margin: 5px 0 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.78rem;
    line-height: 1.3;
}

.satellite-modal__dialog {
    width: calc(100vw - 32px);
    max-width: min(1180px, calc(100vw - 32px));
    margin: 16px auto;
}

.satellite-modal__content {
    max-height: calc(100vh - 32px);
    overflow: hidden;
    background: rgba(13, 18, 29, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    color: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.satellite-modal__viewer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    height: min(72vh, calc(100vh - 190px));
    max-height: calc(100vh - 190px);
    padding: 18px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.30);
}

.satellite-modal__viewer img,
.satellite-modal__viewer video {
    display: none;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.36);
}

.satellite-modal__close {
    flex: 0 0 auto;
    z-index: 2;
}

#sModal1 .modal-content,
#sModal1 .shifter-glass-modal,
.shifter-modal-box {
    background: linear-gradient(180deg, rgba(15, 22, 36, 0.76) 0%, rgba(8, 12, 22, 0.86) 100%) !important;
    border: 1px solid rgba(255,255,255,0.16) !important;
    backdrop-filter: blur(20px) saturate(135%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(135%) !important;
}

#sModal1 .shifter-media-card,
#sModal1 .shifter-map-card,
#sModal1 .shifter-info-card,
#sModal1 .shifter-info-item {
    background: rgba(255,255,255,0.05) !important;
    border-color: rgba(255,255,255,0.10) !important;
}

#sModal1 .maplibregl-map,
#sModal1 .shifter-map {
    border-radius: 16px;
}

#sModal1 .maplibregl-ctrl-attrib {
    min-height: 16px !important;
    max-width: 132px !important;
    margin: 0 6px 6px 0 !important;
    padding: 0 4px !important;
    border-radius: 9px !important;
    background: rgba(255,255,255,0.78) !important;
    font-size: 9px !important;
    line-height: 14px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18) !important;
}

#sModal1 .maplibregl-ctrl-attrib-inner,
#sModal1 .maplibregl-ctrl-attrib a {
    font-size: 9px !important;
    line-height: 14px !important;
    white-space: nowrap !important;
}

#sModal1 .maplibregl-ctrl-attrib-button {
    width: 14px !important;
    height: 14px !important;
    margin-left: 3px !important;
    vertical-align: top !important;
    transform: scale(0.82);
    transform-origin: center;
}

@media (max-width: 991.98px) {
    .main-nav {
        left: 12px;
        right: 12px;
        top: 12px;
    }

    .top-login-only {
        top: 14px;
        right: 14px;
    }

    .top-dashboard-only {
        top: 14px;
        left: 14px;
    }

    .dashboard-hero {
        min-height: 52vh;
        padding-top: 76px;
    }

    .world-map {
        height: 42vh;
        min-height: 300px;
    }

    .map-style-picker {
        width: 100%;
        justify-content: space-between;
    }

    .map-style-picker__select {
        min-width: 0;
        width: 58%;
    }

    .map-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .satellite-modal__dialog {
        width: calc(100vw - 20px);
        max-width: calc(100vw - 20px);
        margin: 10px auto;
    }

    .satellite-modal__viewer {
        height: min(64vh, calc(100vh - 210px));
        max-height: calc(100vh - 210px);
        padding: 10px;
    }
}
