#overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(13, 35, 40, 0.9);
    z-index: 999;
}

#popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-height: 85vh;
    background: white;
    padding: 3rem;
    border-radius: 25px;
    z-index: 1000;
    overflow: hidden;
}

.closeBtn {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.closeBtn::before,
.closeBtn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #0d2328;
}

.closeBtn::before {
    transform: rotate(45deg);
}

.closeBtn::after {
    transform: rotate(-45deg);
}

#popupContent {
    max-width: 100%;
    max-height: 70vh;
    overflow-y: auto;
    padding-top: 2.5rem;
}

.table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.table-scroll table {
    width: 100%;
    min-width: 100%;
    border-collapse: collapse;
    font-size: 1.5rem;
}

.table-scroll td {
    padding: 1.5rem 1.5rem;
    white-space: nowrap;
}

.table-scroll tr:nth-child(odd) td {
    background-color: #f9fdfe;
}

.table-scroll tr:nth-child(even) td {
    background-color: #eef0f2;
}

.table-scroll tr:hover td {
    background-color: #d5f1f1 !important;
}


.table-scroll td:first-child {
    font-weight: bold;
    position: sticky;
    left: 0;
    z-index: 2;

    width: 400px;
    min-width: 400px;
    max-width: 400px;

    white-space: normal;

    background-color: inherit;
}

.table-scroll tr:first-child td:first-child {
    border-top-left-radius: 2rem;
}

.table-scroll tr:first-child td:last-child {
    border-top-right-radius: 2rem;
}


.table-scroll tr:last-child td:first-child {
    border-bottom-left-radius: 2rem;
}


.table-scroll tr:last-child td:last-child {
    border-bottom-right-radius: 2rem;
}

@media (max-width: 768px) {

    #popup {
        width: 95%;
        padding: 1.2rem;
    }

    .table-scroll table {
        font-size: 1.5rem;
    }

    .table-scroll td:first-child {
        width: 175px;
        min-width: 175px;
        max-width: 175px;
    }
}


.scroll-hint {
    display: none;
    text-align: center;
    font-size: 1.5rem;
    color: #2cb9bb;
    margin-top: 12px;
}

.table-scroll.is-overflowing+.scroll-hint {
    display: block;
}

.scroll-hint::after {
    content: " → → →";
    display: inline-block;
    animation: swipeArrow 1.2s infinite ease-in-out;
}

@keyframes swipeArrow {
    0% {
        transform: translateX(0);
        opacity: 0.3;
    }

    50% {
        transform: translateX(6px);
        opacity: 1;
    }

    100% {
        transform: translateX(0);
        opacity: 0.3;
    }
}

/* =========================================================
   DKLÁB BANNERY+ – POP-UP 43 / REGISTRACE
   ========================================================= */

#dklabBanplusPopup43 .dklabBanplusPopup__overlay {
    background: rgba(13, 35, 40, 0.9) !important;
}

#dklabBanplusPopup43 .dklabBanplusPopup__content {
    border-radius: 3rem !important;
    overflow: hidden !important;
}

#dklabBanplusPopup43 .dklabBanplusPopupLink,
#dklabBanplusPopup43 picture,
#dklabBanplusPopup43 img {
    display: block !important;
    border-radius: 3rem !important;
}

#dklabBanplusPopup43 .dklabBanplusPopup__close {
    position: absolute !important;
    top: 1.5rem !important;
    right: 1.5rem !important;
    width: 4rem !important;
    height: 4rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    color: #0d2328 !important;
    font-size: 0 !important;
    line-height: 1 !important;
    background: #f9fdfe !important;
    border: 0 !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    cursor: pointer !important;
    z-index: 2 !important;
}

#dklabBanplusPopup43 .dklabBanplusPopup__close::before,
#dklabBanplusPopup43 .dklabBanplusPopup__close::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 2rem !important;
    height: 2px !important;
    background-color: #0d2328 !important;
    transform-origin: center !important;
}

#dklabBanplusPopup43 .dklabBanplusPopup__close::before {
    transform: translate(-50%, -50%) rotate(45deg) !important;
}

#dklabBanplusPopup43 .dklabBanplusPopup__close::after {
    transform: translate(-50%, -50%) rotate(-45deg) !important;
}

#dklabBanplusPopup43 .dklabBanplusPopup__close:hover,
#dklabBanplusPopup43 .dklabBanplusPopup__close:focus {
    color: #0d2328 !important;
    background: #d5f1f1 !important;
    box-shadow: none !important;
}

