/* ===== ONLINE SETTINGS MODAL ===== */
.bv-sub-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

@media (min-width: 768px) {
    .bv-sub-overlay { align-items: center; }
}

.ft-popup {
    background: #fff;
    border-radius: 20px 20px 0 0;
    width: 100%;
    max-width: 600px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

@media (min-width: 768px) {
    .ft-popup { border-radius: 20px; max-height: 75vh; }
}

.bv-sub-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.bv-sub-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #1a1a1a;
}

.bv-sub-header button {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    border-radius: 8px;
    color: #666;
    display: flex;
    align-items: center;
}

.bv-sub-header button:hover { background: #f5f5f5; }

.bv-sub-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    -webkit-overflow-scrolling: touch;
}

/* Селекты */
.os-select-wrapper {
    position: relative;
    flex-shrink: 0;
}

.os-select-wrapper select {
    padding: 10px 30px 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 13px;
    background: #fff;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
    color: #1a1a1a;
}

.os-select-arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Тумблер */
.client-toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.client-toggle input { opacity: 0; width: 0; height: 0; }

.client-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #ccc;
    transition: .3s;
    border-radius: 26px;
}

.client-toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 2px;
    bottom: 2px;
    background: #fff;
    transition: .3s;
    border-radius: 50%;
}

.client-toggle input:checked + .client-toggle-slider { background: #dd1847; }
.client-toggle input:checked + .client-toggle-slider:before { transform: translateX(22px); }