﻿/* Settings Page - Sleek Minimal Design */
@import url('index.css');

body {
    opacity: 1 !important;
}

/* Ensure header is visible */
header {
    position: relative;
    z-index: 1000;
}

.settings-hero {
    background: transparent;
    padding: 100px 2rem 60px;
    text-align: center;
    border-top: 1px solid transparent;
    border-image: linear-gradient(90deg, transparent, #ff4824, #ff0b4e, transparent) 1;
}

.settings-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.settings-hero .hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #e0e0e0;
    letter-spacing: -0.02em;
}

.settings-hero .hero-subtitle {
    font-size: 1rem;
    color: #888;
}

.settings-container {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 2rem 3rem;
}

.settings-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.settings-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ff4824, #ff0b4e, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.settings-section:hover::before {
    opacity: 1;
}

.section-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 0.25rem;
}

.section-header p {
    color: #888;
    font-size: 0.9rem;
}

.settings-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 0;
    transition: all 0.2s ease;
}

.setting-item:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.1);
}

.setting-info {
    flex: 1;
}

.setting-info label {
    display: block;
    font-weight: 500;
    font-size: 1rem;
    color: #e0e0e0;
    margin-bottom: 0.25rem;
}

.setting-description {
    font-size: 0.85rem;
    color: #888;
    display: block;
}

.setting-control {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0;
    padding: 0.625rem 1rem;
    color: #e0e0e0;
    min-width: 150px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.setting-control:focus {
    outline: none;
    border-color: #ff4824;
    background: rgba(255, 255, 255, 0.03);
}

.toggle-switch {
    position: relative;
    width: 56px;
    height: 28px;
    display: inline-block;
}

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

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0;
    transition: all 0.3s ease;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: #888;
    border-radius: 0;
    transition: all 0.3s ease;
}

.toggle-switch input:checked + .toggle-slider {
    background: rgba(255, 72, 36, 0.1);
    border-color: #ff4824;
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(28px);
    background: #ff4824;
}

.range-control {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 250px;
}

input[type="range"] {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0;
    outline: none;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: #ff4824;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    background: #ff0b4e;
}

input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #ff4824;
    border-radius: 0;
    border: none;
    cursor: pointer;
}

.range-value {
    min-width: 60px;
    text-align: center;
    font-weight: 600;
    color: #ff4824;
    font-size: 0.9rem;
}

.btn-reset {
    padding: 0.875rem 2rem;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid #ef4444;
    border-radius: 0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.btn-reset:hover {
    background: #ef4444;
    color: white;
}

.settings-info {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0;
    margin-top: 2rem;
}

.settings-info p {
    color: #888;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .settings-hero .hero-title {
        font-size: 2rem;
    }
    
    .settings-container {
        padding: 0 1rem 2rem;
    }
    
    .setting-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .range-control {
        width: 100%;
    }
}
