html,
body,
#__nuxt {
    width: 100%;
    min-height: 100vh;
}

body {
    margin: 0;
    padding: 0;
    background: url('/background.webp') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.main-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

#app {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 9vh;
}

.image-logo {
    float: right;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.3);
}

.image-logo-navbar {
    border-radius: 4px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.3);
    max-width: 50px;
    float: left;
    margin-right: 20px;
}

.scroll-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.glass-box {
    border-radius: 15px;
    padding: 20px;
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 80%;
    scroll-margin-top: 12vh;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.1);
    /* To jest KLUCZOWE */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    color: white;
}

.modal-glass-box {
    border-radius: 15px;
    padding: 20px;
    scroll-margin-top: 12vh;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    color: white;
}

.modal-glass-box .btn-outline-primary {
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transition: all 0.2s ease;
}

.modal-glass-box .btn-outline-primary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: white;
    color: white;
}

/* Zaznaczony */
.modal-glass-box .btn-check:checked + .btn-outline-primary {
    background-color: rgba(255, 255, 255, 0.4);
    border-color: white;
    color: #000;
    font-weight: 600;
}

/* Focus efekt (np. po kliku Tab) */
.modal-glass-box .btn-check:focus + .btn-outline-primary {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.3);
}

.btn-call-glass {
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 0.5rem 1rem;
    transition: all 0.2s ease-in-out;
}

.btn-call-glass:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: white;
    color: #000;
}

.glass-box-inside {
    border-radius: 15px;
    padding: 10px;
    width: 95%;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .14);
}

.glass-box-inside::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .15));
    border-radius: inherit;
    pointer-events: none;
}



.calendar-cell {
    height: 50px;
    overflow-y: auto;
}

.scroll-container {
    height: calc(100vh - 200px);
    overflow: hidden auto;
}

#offer ul li {
    color: white;
}

.fc-event {
    color: #fff;
    font-weight: bold;
    font-size: 0.75rem;
    padding: 2px 4px;
    border: none;
    border-radius: 4px;
    text-align: center;
}

.fc-event.fc-level-first {
    background-color: #007bff !important;
    /* niebieski */
    border-color: #007bff !important;
    color: #fff !important;
}

.fc-event.fc-level-semi {
    background-color: #28a745 !important;
    /* zielony */
    border-color: #28a745 !important;
    color: #fff !important;
}

.fc-event.fc-level-veteran {
    background-color: #dc3545 !important;
    /* czerwony */
    border-color: #dc3545 !important;
    color: #fff !important;
}

.fc-event.fc-level-immersion {
    background-color: #343a40 !important;
    /* czarny / antracyt */
    border-color: #343a40 !important;
    color: #fff !important;
}

.fc-theme-standard .fc-popover {
    background-color: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 0.5rem 0;
    min-width: 200px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.fc-theme-standard .fc-popover-header {
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 0.5rem 1rem;
    transition: all 0.2s ease-in-out;
}

.navbar .dropdown-menu {
    background-color: rgba(30, 30, 30, 0.7);
    backdrop-filter: blur(10px);
    /* identycznie jak glass-box */
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 0.5rem 0;
    min-width: 200px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    z-index: 1050;
}

.navbar .dropdown-item {
    color: white;
    padding: 0.45rem 1rem;
    transition: background-color 0.2s ease;
}

.navbar .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Aktywny */
.dropdown-item.active {
    background-color: rgba(255, 255, 255, 0.3);
    color: #000;
    font-weight: 600;
}

h1,
h2,
h3,
p {
    color: white;
    text-align: center;
}


a,
label,
small {
    color: white;
    text-decoration-color: white;
}

#location {
    text-align: center;
    height: auto;
    max-height: 500px;
}

iframe {
    width: 100%;
    height: 350px;
    max-height: 80vh;
}

.accordion-body {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
}

.accordion-item {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

.accordion-button {
    background: rgba(255, 255, 255, 0.3);
    color: black;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.badge-icon {
    width: 10vw;
    height: 11vw;
    max-width: 70px;
    max-height: 80px;
    aspect-ratio: 1 / 1;
    display: inline-block;
}

#badges {
    color: white;
}

.badge-icons-scroll {
    overflow: auto hidden;
}

.badge-btn {
    background-color: transparent;
    border: none;
    z-index: 2;
    position: relative;
    padding: 5px 5px 0 5px;
    border-radius: 10px 10px 0 0;
}

.small-icons {
    gap: 3%;
}

.badge-btn.active {
    background-color: rgba(255, 255, 255, 0.2);
}

.badge-details {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 16px;
    align-items: center;
    min-height: 200px;
}

.badge-icon-large {
    width: 150px;
    height: 150px;
    max-width: 150px;
    max-height: 150px;
}

.nav-tabs {
    overflow: auto hidden;
}

.tab-scroll-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-tabs {
    white-space: nowrap;
    flex-wrap: nowrap;
    overflow: auto hidden;
}

.nav-link {
    color: white;
    white-space: nowrap;
}

.features li {
    padding-left: 8%;
}

.mobile-menu-overlay {
    top: 0.5rem;
    left: 0.5rem;
    background-color: white;
    border-radius: 1rem;
    padding: 1rem 2.5rem;
    z-index: 1070;
    max-width: 90vw;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.glass-nav {
    z-index: 1;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

.navbar .nav-link {
    color: #fff !important;
    font-weight: 500;
}

.hamburger {
    width: 30px;
    height: 22px;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: white;
    position: absolute;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.container-fluid a {
    text-decoration: none;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 9px;
}

.hamburger span:nth-child(3) {
    top: 18px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

.brand-text {
    white-space: normal;
    word-break: break-word;
    line-height: 3;
}

.fc .fc-scrollgrid-section-sticky > * {
    background: none;
}

.tab-scroll-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-tabs {
    white-space: nowrap;
    flex-wrap: nowrap;
    overflow: auto hidden;
}

.nav-link {
    color: white;
    white-space: nowrap;
}

.features li {
    padding-left: 8%;
    color: white;
}

@media (max-width: 1024px) {
    .glass-box {
        width: 100%;
    }

    #mainNavbar {
        max-height: 80vh;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .navbar .dropdown-menu {
        position: static;
        float: none;
        margin: .5rem 0;
    }

    .brand-text {
        font-size: 0.9rem;
        max-width: 160px;
        line-height: 1.2;
    }

    #navbar-toggle {
        margin-top: 0.25rem;
    }

    .navbar-toggler .hamburger {
        display: inline-block;
        width: 30px;
        height: 22px;
        position: relative;
    }

    .hamburger span {
        position: absolute;
        height: 3px;
        width: 100%;
        background: white;
        border-radius: 3px;
        left: 0;
        transition: 0.3s ease;
    }

    .hamburger span:nth-child(1) {
        top: 0;
    }

    .hamburger span:nth-child(2) {
        top: 9px;
    }

    .hamburger span:nth-child(3) {
        top: 18px;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg);
        top: 9px;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg);
        top: 9px;
    }

    .small-icons {
        gap: 1px;
    }

    .badge-details {
        border-radius: 0 0 16px 16px;
    }

    .badge-icon-large {
        width: 110px;
        height: 110px;
        max-width: 110px;
        max-height: 110px;
    }
}

@media (max-width: 768px) {
    .modal-content-outside {
        max-width: 100vw !important;
    }

    h1 {
        font-size: calc(0.8rem + 1.5vw);
    }

    h2 {
        font-size: calc(0.7rem + 1.5vw);
    }

    .badge-icon {
        width: 7vw;
        height: 8vw;
    }

    #app {
        width: 100%;
        font-size: 13px;
    }

    .glass-box {
        padding: 10px !important;
    }

    .accordion-button {
        padding: 1%;
    }
}