/* ========================================
   SETTINGS STYLES - Стили настроек в стиле проекта
   ======================================== */

.settings-section {
    margin-bottom: 15px;
    padding: 15px;
    background: linear-gradient(135deg, 
        rgba(15, 15, 25, 0.95) 0%, 
        rgba(25, 25, 35, 0.9) 50%, 
        rgba(20, 20, 30, 0.95) 100%);
    border: 1px solid rgba(0, 255, 255, 0.25);
    border-radius: 12px;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.settings-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    animation: settingsShine 4s infinite;
    pointer-events: none;
}

@keyframes settingsShine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.settings-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.settings-section-title i {
    color: #00ffff;
    font-size: 16px;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.6);
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.settings-item.vertical {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

.settings-item:hover {
    background: rgba(0, 255, 255, 0.03);
    border-radius: 6px;
    padding: 8px 6px;
    margin: 0 -6px 12px -6px;
}

.settings-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.settings-item-label {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.settings-item-label span:first-child {
    font-size: 14px;
    color: #ffffff;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.settings-value {
    font-size: 12px;
    color: #00ffff;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.6);
    background: linear-gradient(45deg, #00ffff, #0080ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.settings-item-control {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-shrink: 0;
}

/* Toggle Switch - в стиле проекта */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    vertical-align: middle;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(0, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 24px;
    box-shadow: 
        inset 0 1px 3px rgba(0, 0, 0, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 
        0 2px 6px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

input:checked + .toggle-slider {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.4), rgba(0, 128, 255, 0.3));
    border-color: rgba(0, 255, 255, 0.6);
    box-shadow: 
        0 0 15px rgba(0, 255, 255, 0.3),
        inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

input:checked + .toggle-slider:before {
    transform: translateX(20px);
    background: linear-gradient(135deg, #00ffff, #0080ff);
    box-shadow: 
        0 2px 8px rgba(0, 255, 255, 0.6),
        0 0 15px rgba(0, 255, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Sliders - в стиле проекта */
.volume-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.2));
    border: 1px solid rgba(0, 255, 255, 0.3);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        inset 0 1px 3px rgba(0, 0, 0, 0.4),
        0 1px 0 rgba(255, 255, 255, 0.1);
}

.volume-slider:hover {
    border-color: rgba(0, 255, 255, 0.5);
    box-shadow: 
        inset 0 1px 3px rgba(0, 0, 0, 0.4),
        0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 10px rgba(0, 255, 255, 0.2);
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00ffff, #0080ff);
    cursor: pointer;
    border: 2px solid #ffffff;
    box-shadow: 
        0 2px 8px rgba(0, 255, 255, 0.5),
        0 0 15px rgba(0, 255, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 
        0 3px 12px rgba(0, 255, 255, 0.7),
        0 0 20px rgba(0, 255, 255, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.volume-slider::-webkit-slider-thumb:active {
    transform: scale(0.95);
    box-shadow: 
        0 1px 4px rgba(0, 255, 255, 0.4),
        0 0 8px rgba(0, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.volume-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00ffff, #0080ff);
    cursor: pointer;
    border: 2px solid #ffffff;
    box-shadow: 
        0 2px 8px rgba(0, 255, 255, 0.5),
        0 0 15px rgba(0, 255, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.volume-slider::-moz-range-thumb:hover {
    transform: scale(1.15);
    box-shadow: 
        0 3px 12px rgba(0, 255, 255, 0.7),
        0 0 20px rgba(0, 255, 255, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.volume-slider::-moz-range-thumb:active {
    transform: scale(0.95);
    box-shadow: 
        0 1px 4px rgba(0, 255, 255, 0.4),
        0 0 8px rgba(0, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Settings Info - в стиле проекта */
.settings-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.settings-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.08), rgba(0, 128, 255, 0.05));
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.settings-info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.settings-info-item:hover::before {
    left: 100%;
}

.settings-info-item:hover {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.12), rgba(0, 128, 255, 0.08));
    border-color: rgba(0, 255, 255, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 255, 255, 0.15);
}

.settings-info-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.settings-info-value {
    font-size: 13px;
    color: #00ffff;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.6);
    background: linear-gradient(45deg, #00ffff, #0080ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile Responsive - адаптивность в стиле проекта */
@media (max-width: 768px) {
    .settings-section {
        padding: 12px;
        margin-bottom: 12px;
        border-radius: 10px;
    }
    
    .settings-section-title {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .settings-section-title i {
        font-size: 15px;
    }
    
    .settings-item {
        gap: 10px;
        padding: 8px 0;
        align-items: center;
    }
    
    .settings-item.vertical {
        align-items: stretch;
        gap: 8px;
    }
    
    .settings-item:hover {
        padding: 8px 4px;
        margin: 0 -4px 12px -4px;
    }
    
    .settings-item-control {
        justify-content: flex-end;
        flex-shrink: 0;
    }
    
    .settings-item.vertical .settings-item-control {
        justify-content: stretch;
    }
    
    .volume-slider {
        width: 100%;
        height: 6px;
    }
    
    .volume-slider::-webkit-slider-thumb,
    .volume-slider::-moz-range-thumb {
        width: 16px;
        height: 16px;
    }
    
    .toggle-switch {
        width: 40px;
        height: 22px;
    }
    
    .toggle-slider:before {
        height: 16px;
        width: 16px;
    }
    
    input:checked + .toggle-slider:before {
        transform: translateX(18px);
    }
    
    .settings-info-item {
        padding: 6px 10px;
    }
    
    .settings-info-label,
    .settings-info-value {
        font-size: 12px;
    }
}
