/* ============================================================
   settings.css — صفحة الإعدادات
   ============================================================ */

body.settings-page {
    background: #0a0a0a;
    min-height: 100vh;
    font-family: 'Cairo', 'Poppins', sans-serif;
}

/* ---------- الشريط العلوي (اللوجو بس) ---------- */
.settings-topbar {
    display: flex;
    align-items: center;
    padding: 24px 48px;
}

.settings-topbar .logo-img {
    height: 32px;
    width: auto;
    display: block;
}

/* ---------- حاوية الصفحة ---------- */
.settings-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 24px 80px;
}

/* ---------- الكارت الرئيسي ---------- */
.settings-card {
    width: 100%;
    max-width: 820px;
    background: #101010;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.settings-title {
    color: #ffffff;
    font-size: 30px;
    font-weight: 800;
    margin: 0 0 28px;
}

/* ---------- الشبكة ---------- */
.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 640px) {
    .settings-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- كل عنصر إعداد ---------- */
.settings-item {
    display: block;
    background: #131313;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 22px;
    text-decoration: none;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.2s ease;
    position: relative;
}

.settings-item:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background: #161616;
    transform: translateY(-2px);
}

.settings-item-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 15px;
    margin-bottom: 14px;
    opacity: 0.9;
}

.settings-item h3 {
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px;
}

.settings-item p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
    font-weight: 400;
    margin: 0;
    line-height: 1.6;
}

/* ---------- عنصر "تسجيل الخروج" (تنبيه) ---------- */
.settings-item-danger {
    border-color: rgba(239, 68, 68, 0.35);
}

.settings-item-danger:hover {
    border-color: rgba(239, 68, 68, 0.6);
    background: rgba(239, 68, 68, 0.06);
}

.settings-item-danger .settings-item-icon,
.settings-item-danger h3 {
    color: #f87171;
}

.settings-item-danger p {
    color: rgba(248, 113, 113, 0.55);
}