/* ============================================ */
/* SETTINGS PAGE - AYARLAR SAYFASI */
/* ============================================ */

.settings-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.settings-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 50%, #228B22 100%);
    color: white;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 8px 25px rgba(80,40,10,0.2);
}

.settings-header h1 {
    font-size: 2em;
    margin-bottom: 10px;
    color: white;
}

.settings-header p {
    opacity: 0.95;
}

.settings-content {
    background: rgba(255,252,245,0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(80,40,10,0.12);
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.settings-section {
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 2px solid #eee;
}

body.dark-theme .settings-section {
    border-bottom-color: #444;
}

.settings-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.settings-section h2 {
    color: #3d1f00;
    font-size: 1.5em;
    margin-bottom: 20px;
    font-weight: 700;
}

.settings-form {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
}

body.dark-theme .settings-form {
    background: #0a2540;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #3d1f00;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #d4b896;
    border-radius: 8px;
    font-size: 1em;
    background: #fffdf8;
    color: #2c1a00;
    transition: all 0.3s ease;
    outline: none;
}

.form-control::placeholder {
    color: #b89878;
}

body.dark-theme .form-control {
    border-color: #444;
    background: #0f3460;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
    outline: none;
}

.form-text {
    display: block;
    font-size: 0.85em;
    color: #5a7a5a;
    margin-top: 8px;
}

.text-danger {
    color: #dc3545;
    font-size: 0.85em;
    display: block;
    margin-top: 5px;
}

.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.danger-section {
    background: #fff3cd;
    padding: 20px;
    border-radius: 10px;
    border-left: 5px solid #ff6b6b;
}

body.dark-theme .danger-section {
    background: rgba(255, 107, 107, 0.1);
    border-left-color: #ff6b6b;
}

.danger-action {
    margin-top: 15px;
}

.danger-action h3 {
    color: #721c24;
    margin-bottom: 10px;
}

body.dark-theme .danger-action h3 {
    color: #ff6b6b;
}

.danger-action p {
    color: #721c24;
    margin-bottom: 15px;
}

body.dark-theme .danger-action p {
    color: #ffb3b3;
}

.settings-footer {
    text-align: center;
    padding: 20px;
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.3);
}

.btn-danger:active {
    background-color: #bd2130;
    transform: translateY(-1px);
}

.btn-danger:focus {
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #212529;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background-color: #e0a800;
    border-color: #d39e00;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.3);
}

.btn-warning:active {
    background-color: #d39e00;
    transform: translateY(-1px);
}

.btn-warning:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(108, 117, 125, 0.3);
}

.btn-secondary:active {
    background-color: #545b62;
    transform: translateY(-1px);
}

.btn-secondary:focus {
    box-shadow: 0 0 0 0.25rem rgba(108, 117, 125, 0.25);
}

@media (max-width: 600px) {
    .settings-content {
        padding: 20px;
    }

    .settings-section {
        padding-bottom: 30px;
        margin-bottom: 30px;
    }

    .settings-section h2 {
        font-size: 1.2em;
    }
}
