/* Settings Modal Styles - Positioning handled in styles.css */

#settings-modal > div {
    background: linear-gradient(135deg, #1a1a28 0%, #0f0f18 100%) !important;
    border: 2px solid rgba(139, 92, 246, 0.3);
    box-shadow: 
        0 0 40px rgba(139, 92, 246, 0.2),
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.preset-btn.preset-active {
    border-color: #8b5cf6 !important;
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%) !important;
    transform: scale(1.05);
    box-shadow: 
        0 0 30px rgba(139, 92, 246, 0.6),
        0 0 60px rgba(139, 92, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: pulse-preset 2s ease-in-out infinite;
}

@keyframes pulse-preset {
    0%, 100% {
        box-shadow: 
            0 0 30px rgba(139, 92, 246, 0.6),
            0 0 60px rgba(139, 92, 246, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 
            0 0 40px rgba(139, 92, 246, 0.8),
            0 0 80px rgba(139, 92, 246, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

.preset-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.preset-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.preset-btn:hover::before {
    left: 100%;
}

.preset-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.6) !important;
}

/* Enhanced input styles for settings */
#settings-form input[type="number"] {
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(55, 65, 81, 0.8), rgba(31, 41, 55, 0.9)) !important;
}

#settings-form input[type="number"]:focus {
    box-shadow: 
        0 0 0 3px rgba(139, 92, 246, 0.2),
        inset 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

/* Details/summary styling */
details summary {
    background: linear-gradient(135deg, rgba(55, 65, 81, 0.8), rgba(31, 41, 55, 0.9));
    border: 1px solid rgba(139, 92, 246, 0.2);
}

details[open] summary {
    border-bottom-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 2px 10px rgba(139, 92, 246, 0.2);
}

details summary:hover {
    background: linear-gradient(135deg, rgba(75, 85, 99, 0.8), rgba(55, 65, 81, 0.9));
    border-color: rgba(139, 92, 246, 0.4);
}

