/* Settings Panel Styles */
.settings-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    max-width: 90vw;
    background-color: #0f3460;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    z-index: 10000;
    border: 2px solid #f39c12;
}

.settings-content {
    padding: 20px;
}

.setting-item {
    margin-bottom: 25px;
}

.setting-item label {
    display: block;
    color: #f39c12;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.font-size-slider {
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, #16213e, #f39c12);
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.font-size-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #f39c12;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.6);
    transition: all 0.2s;
}

.font-size-slider::-webkit-slider-thumb:hover {
    background: #e67e22;
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.8);
}

.font-size-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #f39c12;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.6);
    transition: all 0.2s;
}

.font-size-slider::-moz-range-thumb:hover {
    background: #e67e22;
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.8);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    color: #95a5a6;
    font-size: 0.9em;
}

.setting-preview {
    background-color: #16213e;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    border: 1px solid #34495e;
}

.setting-preview p {
    margin: 0;
    color: #ecf0f1;
    text-align: center;
}

/* NEW: Checkbox styling for sound effects toggle */
.setting-item input[type="checkbox"] {
    accent-color: #f39c12;
    cursor: pointer;
}

.setting-item input[type="checkbox"]:hover {
    transform: scale(1.1);
}

.setting-item input[type="checkbox"]:focus {
    outline: 2px solid #f39c12;
    outline-offset: 2px;
}