/* Settings Page Styles - Android Material Design */

.settings-page {
    background: var(--content-bg);
    min-height: 100vh;
}

.settings-header {
    background: white;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 10;
}

.settings-header h1 {
    font-size: 20px;
    font-weight: 500;
    color: #212121;
    margin: 0;
}

.back-btn {
    background: none;
    border: none;
    color: #333;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.back-btn:hover {
    background-color: rgba(0,0,0,0.05);
}

.settings-container {
    padding: 8px 0;
}

.settings-section {
    margin-bottom: 8px;
}

.section-header {
    padding: 16px 16px 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-header i {
    font-size: 16px;
}

.settings-item {
    background: white;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s;
}

.settings-item:hover {
    background-color: #f8f9fa;
}

.settings-item.clickable:active {
    background-color: #e9ecef;
}

.item-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.item-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 18px;
}

.item-text {
    flex: 1;
}

.item-title {
    font-size: 16px;
    color: #212121;
    margin-bottom: 2px;
}

.item-subtitle {
    font-size: 13px;
    color: #757575;
}

.item-toggle,
.item-action {
    margin-left: 16px;
}

.item-action i {
    color: #bbb;
    font-size: 18px;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 28px;
}

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

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 28px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(20px);
}

input:disabled + .slider {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Language Select */
.language-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    min-width: 120px;
}

.language-select:focus {
    outline: none;
    border-color: var(--primary-color);
}
