/* Settings page specific styles */

.settings-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

/* Settings header */
.settings-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background-color: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.back-button {
    display: flex;
    align-items: center;
    font-size: 18px;
    cursor: pointer;
    margin-right: 30px;
    color: white;
    text-decoration: none;
}

.back-button i {
    margin-right: 10px;
    font-size: 20px;
}

/* Settings container */
.settings-container {
    display: flex;
    flex-grow: 1;
    overflow: hidden;
}

/* Settings sidebar */
.settings-sidebar {
    width: 250px;
    background-color: rgba(0, 0, 0, 0.2);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-item {
    padding: 20px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s;
}

.sidebar-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.sidebar-item.active {
    background-color: #0066cc;
    font-weight: bold;
}

/* Settings main content */
.settings-main {
    flex-grow: 1;
    padding: 0;
    overflow-y: auto;
}

.settings-section {
    padding: 0;
}

/* Setting items */
.setting-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.1);
}

.setting-label {
    display: flex;
    align-items: center;
    font-size: 18px;
}

.setting-label i {
    font-size: 24px;
    margin-right: 15px;
    width: 30px;
    text-align: center;
}

.setting-control {
    display: flex;
    align-items: center;
}

/* Dropdown */
.dropdown {
    position: relative;
    min-width: 250px;
}

.dropdown-selected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    color: #333;
    padding: 12px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.dropdown-selected i {
    margin-left: 10px;
}

/* Theme indicator */
.theme-indicator {
    display: flex;
    align-items: center;
}

.theme-color {
    width: 16px;
    height: 16px;
    background-color: #0066cc;
    border-radius: 3px;
    margin-right: 10px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Font size slider */
.font-size-control {
    display: flex;
    align-items: center;
    min-width: 250px;
}

.font-size-small {
    font-size: 14px;
    margin-right: 10px;
}

.font-size-large {
    font-size: 24px;
    margin-left: 10px;
    margin-right: 10px;
}

.font-size-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.slider-container {
    position: relative;
    width: 150px;
    height: 4px;
}

.slider-track {
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: visible;
}

.slider-fill {
    position: absolute;
    width: 70%;
    height: 4px;
    background-color: #0066cc;
    border-radius: 2px;
    z-index: 1;
}

.slider-thumb {
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: #0066cc;
    border-radius: 50%;
    top: -6px;
    left: 70%;
    transform: translateX(-50%);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.slider-markers {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    top: -4px;
}

.slider-marker {
    width: 4px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin-top: 8px;
}

.slider-marker.active {
    background-color: white;
    width: 6px;
    height: 6px;
    margin-top: 7px;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .settings-container {
        flex-direction: column;
    }

    .settings-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .sidebar-item {
        padding: 15px;
    }

    .setting-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .setting-control {
        margin-top: 15px;
        width: 100%;
    }

    .dropdown, .font-size-control {
        width: 100%;
    }
}
