[v-cloak] {
    display: none !important;
}

.way-popup-dim {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    cursor: pointer;
}

.way-popup-window {
    position: fixed;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    border: 1px solid #444;
    max-width: 95vw !important;
    max-height: 90vh !important;
    transition: width 0.3s, height 0.3s;
    z-index: 10000;
}

.center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.center-cascade {
    top: 40%;
    left: 40%;
    transform: translate(-50%, -50%);
}

.way-popup-stack-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    max-width: 95vw;
    z-index: 10000;
}

.stack-item {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    margin: 0 !important;
    margin-left: -1px !important;
    transform: none !important;
}

    .stack-item:first-child {
        margin-left: 0 !important;
    }

.top_left {
    position: fixed;
}

.top_right {
    position: fixed;
}

.way-popup-content {
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}

    .way-popup-content img {
        max-width: 100% !important;
        height: auto !important;
    }

.way-popup-footer {
    height: 40px;
    background-color: #222;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    font-size: 13px;
    flex-shrink: 0;
}

.way-popup-checkbox {
    cursor: pointer;
    margin: 0;
}

    .way-popup-checkbox input {
        margin-right: 5px;
        cursor: pointer;
    }

.way-popup-close-btn {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
}

.way-slider-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.slide-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 14px;
    padding: 0 5px;
}
