.tx-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 998;
    align-items: center;
    justify-content: center;
}

.tx-overlay.active {
    display: flex;
}

.tx-overlay .tx-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.tx-overlay .tx-spinner {
    width: 44px;
    height: 44px;
    border: 4px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: tx-spin 0.8s linear infinite;
}

.tx-overlay .tx-text {
    color: #fff;
    font-size: 14px;
    letter-spacing: 2px;
}

@keyframes tx-spin {
    to {
        transform: rotate(360deg);
    }
}
