/* ==========================================================
   1) Theme System: Dark + Light
   ========================================================== */

body.mawaqeeti-body {
    min-height: 100vh;
    background-color: #f9fafb;
    color: #0f172a;
}

/* Dark theme */
body.mawaqeeti-body.theme-dark {
    background:
        radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.16), #020617 45%),
        radial-gradient(circle at 100% 100%, rgba(15, 23, 42, 0.9), #020617 65%);
    color: #e5e7eb;
}

/* Light theme */
body.mawaqeeti-body.theme-light {
    background-color: #f9fafb;
    color: #0f172a;
}

/* Cards per theme */
body.mawaqeeti-body.theme-dark .card {
    background: radial-gradient(circle at 0 0, rgba(15, 23, 42, 0.98), #020617);
    border-color: rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
}

body.mawaqeeti-body.theme-light .card {
    background: #ffffff;
    border-color: #e2e8f0;
    color: #0f172a;
}

/* Tables per theme */
body.mawaqeeti-body.theme-dark table {
    background: rgba(15, 23, 42, 0.98);
}

body.mawaqeeti-body.theme-dark th {
    background: rgba(15, 23, 42, 0.92);
    color: #e5e7eb;
}

body.mawaqeeti-body.theme-dark td {
    color: #e5e7eb;
    border-bottom-color: rgba(30, 64, 175, 0.5);
}

body.mawaqeeti-body.theme-light th {
    background: #f1f5f9;
    color: #1e293b;
}

/* Header & footer theme adjustments */
body.mawaqeeti-body.theme-light header.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

body.mawaqeeti-body.theme-dark header.site-header {
    background: #020617;
    border-bottom: 1px solid #111827;
}

body.mawaqeeti-body.theme-light .site-footer {
    border-top-color: #e5e7eb;
}

body.mawaqeeti-body.theme-dark .site-footer {
    border-top-color: #111827;
}

/* ==========================================================
   2) Base: Fonts, Reset, Utilities
   ========================================================== */

html[lang="ar"],
body[lang="ar"] {
    font-family: "Cairo", system-ui, sans-serif;
}

html[lang="en"],
body[lang="en"] {
    font-family: "Inter", system-ui, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: inherit;
    line-height: 1.6;
}

a {
    color: #2563eb;
    text-decoration: none;
    transition: opacity .15s ease, color .15s ease;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 1.5rem 2.5rem;
}

/* Utilities */
.flex { display: flex; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 0.5rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.text-sm { font-size: 0.85rem; }
.text-xs { font-size: 0.75rem; }
.text-muted { color: #64748b; }

/* Typography */
.page-title {
    font-size: 1.45rem;
    font-weight: 700;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #334155;
}

/* ==========================================================
   3) Components: Cards, Buttons, Tables, Badges, Tabs
   ========================================================== */

.card {
    background: #ffffff;
    border-radius: 0.9rem;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    color: #1e293b;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 1.05rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.9rem;
    cursor: pointer;
    background: #2563eb;
    color: #ffffff;
    font-weight: 500;
    transition:
        background .15s ease,
        border-color .15s ease,
        transform .1s ease,
        box-shadow .1s ease;
}

.btn:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.25);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border-color: #d1d5db;
    color: #1f2933;
}

.btn-outline:hover {
    border-color: #2563eb;
    color: #2563eb;
    box-shadow: none;
    transform: none;
}

.btn-sm {
    padding: 0.3rem 0.85rem;
    font-size: 0.78rem;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.85rem;
    border-radius: 0.75rem;
    overflow: hidden;
    font-size: 0.9rem;
}

th {
    padding: 0.6rem 0.9rem;
    font-weight: 600;
    border-bottom: 1px solid #e2e8f0;
}

td {
    padding: 0.55rem 0.9rem;
    border-bottom: 1px solid #e5e7eb;
}

html[dir="rtl"] th,
html[dir="rtl"] td {
    text-align: right;
}

html[dir="ltr"] th,
html[dir="ltr"] td {
    text-align: left;
}

th.text-center,
td.text-center {
    text-align: center !important;
}

tbody tr:nth-child(even) {
    background-color: rgba(148, 163, 184, 0.06);
}

tbody tr:last-child td {
    border-bottom-color: #e5e7eb;
}

@media (max-width: 768px) {
    table {
        font-size: 0.8rem;
    }

    th,
    td {
        padding: 0.45rem 0.55rem;
        white-space: nowrap;
    }
}

tr:last-child td {
    border-bottom-color: #e5e7eb;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.18rem 0.6rem;
    border-radius: 999px;
    font-size: 0.74rem;
    background: #22c55e;
    color: #ecfdf5;
}

.badge-soft {
    background: #eff6ff;
    color: #2563eb;
}

/* Pills */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 0.78rem;
    color: #64748b;
}

/* Tabs */
.tab-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tab-btn {
    padding: 0.38rem 0.9rem;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    font-size: 0.82rem;
    cursor: pointer;
    color: #475569;
}

.tab-btn:hover {
    border-color: #2563eb;
    color: #2563eb;
}

.tab-btn.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ==========================================================
   4) Navigation & Brand
   ========================================================== */

.main-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
}

.nav-link {
    color: #64748b;
    text-decoration: none;
    padding: 0.25rem 0;
}

.nav-link:hover {
    color: #111827;
    text-decoration: none;
}

/* الشعار والعنوان داخل الهيدر */
.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.site-logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.18), rgba(15, 23, 42, 0.95));
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
    overflow: hidden;
}

.site-logo-image {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: contain;
}

.site-title {
    font-size: 0.95rem;
    font-weight: 700;
}

.site-subtitle {
    font-size: 0.75rem;
}

body.mawaqeeti-body.theme-light .site-title {
    color: #0f172a;
}

body.mawaqeeti-body.theme-light .site-subtitle {
    color: #64748b;
}

body.mawaqeeti-body.theme-dark .site-title {
    color: #e5e7eb;
}

body.mawaqeeti-body.theme-dark .site-subtitle {
    color: #9ca3af;
}

/* Footer */
.site-footer {
    border-top: 1px solid #e2e8f0;
    padding-top: 0.75rem;
    margin-top: 2rem;
}

/* ==========================================================
   5) Responsive Basics
   ========================================================== */

@media (max-width: 768px) {
    .container {
        padding: 1.1rem;
        max-width: 100%;
    }

    .site-brand {
        max-width: 70%;
    }

    .menu-toggle {
        flex-shrink: 0;
    }
}

@media (max-width: 576px) {
    .menu-label {
        font-size: 0.7rem;
    }
}

/* ==========================================================
   6) HEADER + MENU (Mawaqeeti Layout)
   ========================================================== */

/* HEADER: شريط بسيط وصغير */
header.site-header {
    position: sticky;
    top: 0;
    z-index: 40;

    width: 100%;
    margin: 0 0 1rem 0;

    height: 56px;
    min-height: 56px;
    padding: 8px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;

    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);

    box-sizing: border-box;
    backdrop-filter: blur(8px);
    transition:
        background 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}

body.mawaqeeti-body.theme-dark header.site-header {
    background: #020617;
    border-bottom-color: #111827;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.7);
}

/* شكل الهيدر بعد السكروول */
body.mawaqeeti-body.theme-light header.site-header.scrolled {
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

body.mawaqeeti-body.theme-dark header.site-header.scrolled {
    background: #020617;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.8);
}

/* يمين الهيدر: الأزرار */
.header-right {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* أزرار الهيدر (لغة، ثيم، منيو) */
.locale-switch,
.theme-switch,
.menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;

    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    border: 1px solid;

    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;

    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease,
        transform 0.1s ease,
        box-shadow 0.1s ease;
}

/* لغة/ثيم/منيو – ثيم فاتح */
body.mawaqeeti-body.theme-light .locale-switch,
body.mawaqeeti-body.theme-light .theme-switch,
body.mawaqeeti-body.theme-light .menu-toggle {
    background: #ffffff;
    border-color: #d1d5db;
    color: #334155;
}

body.mawaqeeti-body.theme-light .locale-switch:hover,
body.mawaqeeti-body.theme-light .theme-switch:hover,
body.mawaqeeti-body.theme-light .menu-toggle:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

/* لغة/ثيم/منيو – ثيم داكن */
body.mawaqeeti-body.theme-dark .locale-switch,
body.mawaqeeti-body.theme-dark .theme-switch,
body.mawaqeeti-body.theme-dark .menu-toggle {
    background: #020617;
    border-color: #334155;
    color: #e5e7eb;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.9);
}

body.mawaqeeti-body.theme-dark .locale-switch:hover,
body.mawaqeeti-body.theme-dark .theme-switch:hover,
body.mawaqeeti-body.theme-dark .menu-toggle:hover {
    border-color: #38bdf8;
    color: #e0f2fe;
}

/* زر المنيو – الأيقونة */
.menu-label {
    font-size: 0.72rem;
}

.menu-icon {
    position: relative;
    width: 18px;
    height: 14px;
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-icon span {
    display: block;
    height: 2px;
    border-radius: 999px;
    transition:
        transform 0.16s ease,
        opacity 0.16s ease,
        width 0.16s ease;
}

body.mawaqeeti-body.theme-light .menu-icon span {
    background: #0f172a;
}

body.mawaqeeti-body.theme-dark .menu-icon span {
    background: #f8fafc;
}

.menu-toggle.is-open .menu-icon span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open .menu-icon span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open .menu-icon span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ==========================================================
   7) MENU OVERLAY
   ========================================================== */

.menu-overlay {
    position: fixed;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 50;

    display: flex;
    justify-content: center;
    align-items: flex-start;
    transition: opacity 0.2s ease-out, visibility 0.2s ease-out;
}

body.mawaqeeti-body.theme-light .menu-overlay {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

body.mawaqeeti-body.theme-dark .menu-overlay {
    background: rgba(3, 7, 18, 0.85);
    backdrop-filter: blur(10px);
}

.menu-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* الصندوق الداخلي للمنيو – أساس زجاجي */
.menu-overlay-inner {
    width: 100%;
    max-width: 900px;
    margin-top: 3.5rem;
    margin-inline: 1.2rem;
    border-radius: 1.25rem;
    padding: 1.15rem 1.2rem 1.2rem;

    border: 1px solid transparent;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);

    transform: translateY(-6px);
    transition:
        transform 0.2s ease-out,
        box-shadow 0.2s ease-out,
        border-color 0.2s ease-out,
        background 0.2s ease-out,
        backdrop-filter 0.2s ease-out,
        -webkit-backdrop-filter 0.2s ease-out;

    /* الزجاجية */
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
}

.menu-overlay.open .menu-overlay-inner {
    transform: translateY(0);
}

/* ثيم نهاري – زجاج بلون فاتح */
body.mawaqeeti-body.theme-light .menu-overlay-inner {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.90),
        rgba(248, 250, 252, 0.82)
    );
    border-color: rgba(148, 163, 184, 0.55);
    color: #0f172a;
}

/* ثيم ليلي – زجاج بلون داكن مزرق */
body.mawaqeeti-body.theme-dark .menu-overlay-inner {
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.88),
        rgba(15, 23, 42, 0.80)
    );
    border-color: rgba(148, 163, 184, 0.45);
    color: #e5e7eb;
}

/* Header inside overlay */
.menu-overlay-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.menu-overlay-brand {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.menu-overlay-logo {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    object-fit: contain;
}

.menu-overlay-logo-fallback {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.18), rgba(15, 23, 42, 0.95));
}

.menu-overlay-title {
    font-size: 0.95rem;
    font-weight: 700;
}

.menu-overlay-subtitle {
    font-size: 0.75rem;
}

body.mawaqeeti-body.theme-light .menu-overlay-title {
    color: #0f172a;
}

body.mawaqeeti-body.theme-light .menu-overlay-subtitle {
    color: #64748b;
}

body.mawaqeeti-body.theme-dark .menu-overlay-title {
    color: #e5e7eb;
}

body.mawaqeeti-body.theme-dark .menu-overlay-subtitle {
    color: rgba(209, 213, 219, 0.92);
}

/* Close button */
.menu-close-btn {
    border-radius: 999px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
    background: #ffffff;
    border-color: #e2e8f0;
}

.menu-close-btn:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    transform: translateY(-1px);
}

body.mawaqeeti-body.theme-dark .menu-close-btn {
    background: #020617;
    border-color: #334155;
}

body.mawaqeeti-body.theme-dark .menu-close-btn:hover {
    border-color: #38bdf8;
}

/* Close icon */
.menu-close-icon {
    position: relative;
    width: 14px;
    height: 14px;
    display: inline-block;
}

.menu-close-icon span {
    position: absolute;
    inset: 50% auto auto 0;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    transform-origin: center;
}

body.mawaqeeti-body.theme-light .menu-close-icon span {
    background: #0f172a;
}

body.mawaqeeti-body.theme-dark .menu-close-icon span {
    background: #f8fafc;
}

.menu-close-icon span:first-child {
    transform: translateY(-1px) rotate(45deg);
}

.menu-close-icon span:last-child {
    transform: translateY(-1px) rotate(-45deg);
}

/* Main links */
.menu-overlay-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.6rem;
    margin-top: 0.75rem;
    margin-bottom: 0.85rem;
}

.menu-overlay-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 0.9rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid;
    font-size: 0.85rem;
    text-decoration: none;
    transition:
        border-color 0.16s ease,
        background 0.16s ease,
        transform 0.12s ease,
        box-shadow 0.12s ease;
}

body.mawaqeeti-body.theme-light .menu-overlay-link {
    background: #ffffff;
    border-color: #e2e8f0;
    color: #0f172a;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

body.mawaqeeti-body.theme-light .menu-overlay-link:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    transform: translateY(-1px);
}

body.mawaqeeti-body.theme-dark .menu-overlay-link {
    background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.18), rgba(15, 23, 42, 0.98));
    border-color: rgba(148, 163, 184, 0.55);
    color: rgba(241, 245, 249, 0.98);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.9);
}

body.mawaqeeti-body.theme-dark .menu-overlay-link:hover {
    border-color: rgba(56, 189, 248, 0.85);
    transform: translateY(-2px);
}

/* Secondary section */
.menu-overlay-secondary {
    margin-top: 0.4rem;
    padding-top: 0.7rem;
    border-top: 1px dashed #e2e8f0;
}

body.mawaqeeti-body.theme-dark .menu-overlay-secondary {
    border-top-color: rgba(148, 163, 184, 0.6);
}

.menu-overlay-secondary-title {
    font-size: 0.78rem;
}

.menu-overlay-secondary-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.menu-overlay-secondary-link {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    border: 1px solid;
    font-size: 0.76rem;
    text-decoration: none;
    transition:
        border-color 0.15s ease,
        background 0.15s ease,
        transform 0.1s ease,
        box-shadow 0.1s ease;
}

body.mawaqeeti-body.theme-light .menu-overlay-secondary-link {
    background: #ffffff;
    border-color: #e2e8f0;
    color: #0f172a;
}

body.mawaqeeti-body.theme-light .menu-overlay-secondary-link:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    transform: translateY(-1px);
}

body.mawaqeeti-body.theme-dark .menu-overlay-secondary-link {
    background: #020617;
    border-color: rgba(148, 163, 184, 0.48);
    color: rgba(226, 232, 240, 0.96);
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.95);
}

body.mawaqeeti-body.theme-dark .menu-overlay-secondary-link:hover {
    border-color: rgba(56, 189, 248, 0.85);
    transform: translateY(-1px);
}

/* Footer inside overlay */
.menu-overlay-footer {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e2e8f0;
}

body.mawaqeeti-body.theme-dark .menu-overlay-footer {
    border-top-color: #1f2937;
}

/* Responsive for overlay */
@media (max-width: 768px) {
    .menu-overlay-inner {
        margin-top: 3.2rem;
        margin-inline: 1.1rem;
        padding: 1rem 1rem 1.05rem;
    }

    .menu-overlay-nav {
        grid-template-columns: 1fr;
    }
}
/* ==========================================================
   PRO HEADER BAR ONLY — Safe Override (NO menu overlay changes)
   Paste at END of: public/css/mawaqeeti-theme.css
   ========================================================== */

/* Header: premium glass bar */
header.site-header{
  height: auto;
  min-height: 72px;
  padding: 10px 12px;
  margin: 14px 0 18px;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;

  border-radius: 18px;
  border: 1px solid rgba(148,163,184,.35);

  background: rgba(255,255,255,.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow: 0 16px 45px rgba(15,23,42,.10);
}

body.mawaqeeti-body.theme-dark header.site-header{
  background: rgba(2,6,23,.55);
  border-color: rgba(51,65,85,.60);
  box-shadow: 0 18px 55px rgba(0,0,0,.40);
}

/* Scrolled state (your JS already toggles .scrolled) */
header.site-header.scrolled{
  transform: translateY(-1px);
  box-shadow: 0 22px 70px rgba(15,23,42,.14);
}
body.mawaqeeti-body.theme-dark header.site-header.scrolled{
  box-shadow: 0 24px 80px rgba(0,0,0,.55);
}

/* Brand */
.site-brand{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 0;
}

.site-logo-image,
.site-logo{
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

.site-brand-text{
  display:flex;
  flex-direction:column;
  gap: 2px;
  min-width: 0;
}

.site-title{
  font-weight: 900;
  font-size: 0.98rem;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-subtitle{
  font-size: 0.78rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: .9;
}

/* Right controls: premium pill buttons */
.header-right{
  display:flex;
  align-items:center;
  gap: 8px;
  flex-shrink: 0;
}

.locale-switch,
.theme-switch,
.menu-toggle{
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;

  border: 1px solid rgba(148,163,184,.35);
  background: rgba(255,255,255,.55);

  font-weight: 900;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;

  box-shadow: 0 10px 22px rgba(15,23,42,.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}

body.mawaqeeti-body.theme-dark .locale-switch,
body.mawaqeeti-body.theme-dark .theme-switch,
body.mawaqeeti-body.theme-dark .menu-toggle{
  background: rgba(2,6,23,.40);
  border-color: rgba(51,65,85,.55);
  box-shadow: 0 14px 30px rgba(0,0,0,.30);
}

.locale-switch:hover,
.theme-switch:hover,
.menu-toggle:hover{
  transform: translateY(-1px);
  border-color: rgba(56,189,248,.45);
  box-shadow: 0 16px 40px rgba(56,189,248,.10);
}

/* Burger icon balanced */
.menu-icon{ width: 18px; height: 14px; }
.menu-icon span{ height: 2px; }

/* Mobile: hide the "Menu" text on very small screens */
@media (max-width: 420px){
  .menu-label{ display:none; }
  .locale-switch, .theme-switch, .menu-toggle{ padding: 0 10px; }
}

/* Give the container a bit of top breathing room on mobile */
@media (max-width: 768px){
  .container{ padding-top: 10px; }
}


