/* Settings Page Styles */
.settings-main {
    padding: 40px 0;
    min-height: calc(100vh - 200px);
}

.settings-container {
    max-width: 1200px;
    margin: 0 auto;
}

.settings-header {
    text-align: center;
    margin-bottom: 40px;
}

.settings-header h1 {
    font-family: 'Benzin', sans-serif;
    font-weight: 700;
    font-size: 36px;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #ffffff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.settings-header p {
    font-family: 'Benzin', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.settings-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    backdrop-filter: blur(10px);
    background: rgba(15, 15, 15, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
}

/* Sidebar Navigation */
.settings-sidebar {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 30px;
}

.settings-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: none;
    border: none;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Benzin', sans-serif;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
}

.nav-item.active {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-left: 3px solid rgba(255, 255, 255, 0.3);
}

.nav-icon {
    width: 20px;
    height: 20px;
    opacity: 0.8;
}

/* Settings Panels */
.settings-panels {
    min-height: 500px;
}

.settings-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.settings-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.settings-panel h2 {
    font-family: 'Benzin', sans-serif;
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 30px;
    color: white;
}

/* Forms */
.settings-form {
    max-width: 500px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-family: 'Benzin', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.form-group input,
.form-group select {
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-family: 'Benzin', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
}

.form-group input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.save-btn {
    padding: 12px 30px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #ffffff;
    font-family: 'Benzin', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.save-btn:hover:not(:disabled) {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.save-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.form-note {
    font-family: 'Benzin', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 10px;
    font-style: italic;
}

/* Security Items */
.security-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.security-info h4 {
    font-family: 'Benzin', sans-serif;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
    color: white;
}

.security-info p {
    font-family: 'Benzin', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.action-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: white;
    font-family: 'Benzin', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transition: .4s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.toggle-slider {
    background-color: #27ae60;
}

input:checked+.toggle-slider:before {
    transform: translateX(26px);
}

/* Notifications */
.notification-category {
    margin-bottom: 30px;
}

.notification-category h4 {
    font-family: 'Benzin', sans-serif;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 15px;
    color: white;
}

.notification-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.notification-item span {
    font-family: 'Benzin', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

/* Appearance */
.appearance-item {
    margin-bottom: 30px;
}

.appearance-item h4 {
    font-family: 'Benzin', sans-serif;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 15px;
    color: white;
}

.theme-selector {
    display: flex;
    gap: 15px;
}

.theme-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.theme-option:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.theme-option.active {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

.theme-preview {
    width: 60px;
    height: 40px;
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.dark-theme {
    background: linear-gradient(135deg, #0a0a0a 50%, #1a1a1a 50%);
}

.light-theme {
    background: linear-gradient(135deg, #ffffff 50%, #f0f0f0 50%);
}

.theme-option span {
    font-family: 'Benzin', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.font-size-selector {
    display: flex;
    gap: 10px;
}

.font-size-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Benzin', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.font-size-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.font-size-btn.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
}

/* Privacy */
.privacy-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.privacy-info h4 {
    font-family: 'Benzin', sans-serif;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
    color: white;
}

.privacy-info p {
    font-family: 'Benzin', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.privacy-select {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: 'Benzin', sans-serif;
    font-size: 14px;
    min-width: 150px;
}

.danger-zone {
    margin-top: 40px;
    padding: 20px;
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-radius: 12px;
}

.danger-zone h4 {
    font-family: 'Benzin', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #e74c3c;
    margin-bottom: 15px;
}

.danger-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.danger-info h5 {
    font-family: 'Benzin', sans-serif;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
    color: white;
}

.danger-info p {
    font-family: 'Benzin', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.danger-btn {
    padding: 10px 20px;
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid rgba(231, 76, 60, 0.5);
    border-radius: 8px;
    color: #e74c3c;
    font-family: 'Benzin', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.danger-btn:hover {
    background: rgba(231, 76, 60, 0.3);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .settings-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .settings-sidebar {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-right: 0;
        padding-bottom: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .security-item {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .theme-selector {
        flex-direction: column;
    }

    .privacy-item {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}