/* Common Elements */

.semi-transparent-overlay {
    position: relative;
    pointer-events: auto;
}

.semi-transparent-overlay td,
.semi-transparent-overlay th {
    background: inherit !important;
    color: inherit !important;
    pointer-events: auto !important;
    filter: none !important;
    -webkit-filter: none !important;
    user-select: auto !important;
}

.table-wrap {
    position: relative;
    overflow: auto;
    padding-bottom: 20px;
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: #0a0a0a;
    text-align: center;
    z-index: 10;
    pointer-events: none;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    user-select: none;
}

/* Global unlock mode: hide lock prompts globally. */
.overlay-text {
    display: none !important;
}

.overlay-text i {
    font-size: 1.3rem;
    margin-bottom: 0;
    margin-right: 15px;
}

.subscribe {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 180px;
    pointer-events: auto;
    /* Allow interaction with the subscribe button */
}

.subscribe p {
    margin-bottom: 0;
    font-weight: 500;
    font-size: 1.1rem;
}

.subscribe-subtitle {
    margin-bottom: 0;
    margin-top: 5px;
    color: #283a3c;
    font-weight: 600;
    font-size: 0.95em;
}

@media (max-width: 768px) {
    .overlay-text {
        font-size: 1.3rem;
    }

    .subscribe-subtitle {
        font-size: 0.8em;
    }
}

/* Full Table Block Overlay */
.full-table-overlay {
    position: relative;
}

.full-table-overlay td,
.full-table-overlay th {
    background: inherit !important;
    color: inherit !important;
    pointer-events: auto !important;
    filter: none !important;
    -webkit-filter: none !important;
    user-select: auto !important;
}

.full-table-overlay .overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: #fff;
    text-align: center;
    pointer-events: none;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    user-select: none;
}

/* Top Two Rows Visible, Rest Blocked */
.top-rows-visible-overlay .row-overlay {
    position: relative;
}

.top-rows-visible-overlay .row-overlay::after {
    content: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
    pointer-events: none;
    user-select: none;
}

.top-rows-visible-overlay .row-overlay .overlay-text {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: #fff;
    text-align: center;
    pointer-events: none;
    white-space: nowrap;
    user-select: none;
}

.top-rows-visible-overlay .row-overlay {
    top: 50%;
    user-select: none;
    z-index: 2;
}

.table-responsive {
    min-height: 200px;
}

@media (max-width: 768px) {
    .table-responsive {
        min-height: 400px;
    }
}