:root {
    --primary-color: #294351;
    --secondary-color: #0ea5e9;
    --accent-color: #0d9488;
    --light-bg: #f8fafc;
}

* {
    font-family: 'Inter', 'Noto Sans Arabic', sans-serif;
}

.heading-font {
    font-family: 'Source Serif Pro', serif;
}

.arabic-font {
    font-family: 'Noto Sans Arabic', sans-serif;
}

body[dir="ltr"] .heading-font {
    font-family: 'Source Serif Pro', serif;
    font-weight: 600;
}

/* Card Hover Effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(41, 67, 81, 0.08);
}

/* Gradients */
.gradient-bg {
    background: linear-gradient(135deg, #f0f9ff 0%, #e6fffa 50%, #f5f3ff 100%);
}

.primary-gradient {
    background: linear-gradient(135deg, #294351 0%, #1a2d38 100%);
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 20px rgba(41, 67, 81, 0.05);
}

/* Stat Cards */
.stat-card {
    background: linear-gradient(135deg, rgba(41, 67, 81, 0.03) 0%, rgba(41, 67, 81, 0.08) 100%);
    border-right: 4px solid var(--primary-color);
}

body[dir="ltr"] .stat-card {
    border-right: none;
    border-left: 4px solid var(--primary-color);
}

/* Language Switch */
.language-switch {
    transition: all 0.3s ease;
    border: 1px solid rgba(41, 67, 81, 0.2);
}

.language-switch:hover {
    border-color: var(--primary-color);
    background-color: rgba(41, 67, 81, 0.05);
}

/* Service Cards */
.service-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-top: 4px solid var(--accent-color);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #1a2d38;
    color: white;
}

.text-primary {
    color: var(--primary-color);
}

.border-primary {
    border-color: var(--primary-color);
}

.bg-primary {
    background-color: var(--primary-color);
}

/* Animations */
.section-hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Flip Cards */
.flip-card {
    perspective: 1000px;
    cursor: pointer;
}
.flip-card-front {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.flip-card-inner {
    transition: transform 0.6s;
    transform-style: preserve-3d;
    position: relative;
    width: 100%;
    height: 100%;
}

.flip-card:hover .flip-card-inner,
.flip-card:focus-within .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 1rem;
}

.flip-card-back {
    transform: rotateY(180deg);
    background: white;
}

body[dir="ltr"] .flip-card:hover .flip-card-inner,
body[dir="ltr"] .flip-card:focus-within .flip-card-inner {
    transform: rotateY(-180deg);
}

body[dir="ltr"] .flip-card-back {
    transform: rotateY(-180deg);
}

/* Timeline */
.timeline-item {
    position: relative;
    padding-right: 30px;
}

body[dir="ltr"] .timeline-item {
    padding-right: 0;
    padding-left: 30px;
}

.timeline-item:before {
    content: '';
    position: absolute;
    right: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

body[dir="ltr"] .timeline-item:before {
    right: auto;
    left: 0;
}

/* Feature Icons */
.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(41, 67, 81, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 24px;
}

/* Progress Bars */
.progress-bar {
    height: 6px;
    background-color: #e5e7eb;
    border-radius: 3px;
    /* overflow: hidden; */
}

.progress-fill {
    height: 100%;
    background-color: var(--primary-color);
    width: 0;
    transition: width 1.5s ease;
}

/* Therapy Icons */
.therapy-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}

/* Hero Pattern */
.hero-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23294351' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Form Styles */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    ring: 2px;
    ring-color: var(--primary-color);
    border-color: transparent;
}

/* Line Clamp Utility */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    /* overflow: hidden; */
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    /* overflow: hidden; */
}

/* Prose Styles */
.prose {
    color: #374151;
}

.prose h1, .prose h2, .prose h3 {
    color: #111827;
    font-weight: 600;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.prose h1 {
    font-size: 2.25em;
}

.prose h2 {
    font-size: 1.875em;
}

.prose h3 {
    font-size: 1.5em;
}

.prose ul, .prose ol {
    padding-right: 1.5em;
    margin-bottom: 1em;
}

.prose li {
    margin-bottom: 0.5em;
}

.prose p {
    margin-bottom: 1em;
    line-height: 1.75;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .text-6xl {
        font-size: 3rem;
    }
    
    .text-5xl {
        font-size: 2.5rem;
    }
    
    .text-4xl {
        font-size: 2rem;
    }
    
    .text-3xl {
        font-size: 1.75rem;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .print-only {
        display: block !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    a {
        color: #000 !important;
        text-decoration: none !important;
    }
    
    .card-hover:hover {
        transform: none !important;
        box-shadow: none !important;
    }
}

body,
html {
    overflow-x: visible !important;
}
/* إصلاح القوائم الفرعية في navigation */
.relative.group {
    overflow: visible !important;
}

.group:hover .absolute {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
}

#navbar {
    overflow: visible !important;
}

.container.mx-auto {
    overflow: visible !important;
}

/* ============================================================
   NEW SECTIONS - SCADD Optimization
   ============================================================ */

/* ---- Section Labels ---- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.section-label-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: inline-block;
    flex-shrink: 0;
}

/* ---- Buttons ---- */
.btn-white-cta {
    background: white;
    color: var(--primary-color);
    font-weight: 700;
}
.btn-white-cta:hover {
    background: #f0f9ff;
}
.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    transition: all 0.3s ease;
}
.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
}

/* ---- Animations ---- */
@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in-down {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up   { animation: fade-in-up   0.75s ease both; }
.animate-fade-in-down { animation: fade-in-down 0.6s ease both; }

[data-animate="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate="fade-up"].animated,
[data-animate="slide-right"].animated,
[data-animate="slide-left"].animated {
    opacity: 1;
    transform: none;
}
[data-animate="slide-right"] { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-animate="slide-left"]  { opacity: 0; transform: translateX(40px);  transition: opacity 0.7s ease, transform 0.7s ease; }

/* ---- Hero Section ---- */
.hero-section { min-height: 100vh; }
.hero-gradient-animated {
    background: linear-gradient(135deg, #1a2d38 0%, #294351 40%, #0d9488 100%);
    animation: gradientShift 8s ease infinite alternate;
    background-size: 200% 200%;
}
.hero-bg-embed {
    border: 0;
    pointer-events: none;
    transform: scale(1.18);
    transform-origin: center;
}
@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
.hero-overlay {
    background: linear-gradient(to bottom, rgba(26,45,56,0.7) 0%, rgba(26,45,56,0.4) 60%, rgba(26,45,56,0.7) 100%);
}
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}
.hero-blob-1 { width:500px;height:500px;background:var(--accent-color);top:-100px;right:-100px; }
.hero-blob-2 { width:400px;height:400px;background:var(--secondary-color);bottom:-80px;left:-80px; }

.hero-social-rail {
    position: absolute;
    right: clamp(18px, 3vw, 56px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 25;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.hero-social-rail::before,
.hero-social-rail::after {
    content: "";
    width: 1px;
    height: 44px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.55), transparent);
}
.hero-social-link {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: rgba(255,255,255,0.13);
    border: 1px solid rgba(255,255,255,0.26);
    box-shadow: 0 10px 28px rgba(0,0,0,0.18);
    backdrop-filter: blur(12px);
    transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}
.hero-social-link:hover,
.hero-social-link:focus-visible {
    color: var(--primary-color);
    background: rgba(255,255,255,0.95);
    border-color: rgba(255,255,255,0.85);
    transform: translateX(-3px);
    outline: none;
}
.hero-social-link i { font-size: 1rem; line-height: 1; }

.hero-badge {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 8px 18px;
    border-radius: 999px;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.hero-badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #4ade80;
    display: inline-block;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.5); }
    50%       { box-shadow: 0 0 0 6px rgba(74,222,128,0); }
}

.btn-cta-primary {
    background: white;
    color: var(--primary-color);
    padding: 14px 32px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}
.btn-cta-primary:hover { background: #f0f9ff; transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,0.25); }
.btn-cta-secondary {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255,255,255,0.35);
    color: white;
    padding: 14px 32px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}
.btn-cta-secondary:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }

.hero-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 56px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 20px 32px;
    flex-wrap: wrap;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.hero-stat-item { text-align: center; padding: 8px 20px; }
.hero-stat-num  { font-size: 2rem; font-weight: 900; color: white; display: inline-block; }
.hero-stat-suffix { font-size: 1rem; font-weight: 700; color: rgba(255,255,255,0.8); }
.hero-stat-label { display: block; font-size: 0.7rem; color: rgba(255,255,255,0.6); margin-top: 2px; }
.hero-stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.2); flex-shrink: 0; }

/* Scroll indicator */
.scroll-indicator { animation: bounce 2s infinite; }
.scroll-mouse {
    width: 26px; height: 40px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 5px;
}
.scroll-wheel {
    width: 4px; height: 8px;
    background: white;
    border-radius: 2px;
    animation: scrollWheel 1.8s ease infinite;
}
@keyframes scrollWheel { 0%,100%{transform:translateY(0);opacity:1} 80%{transform:translateY(12px);opacity:0} }

.hero-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}
.hero-dot.active { background: white; width: 20px; border-radius: 4px; }

@media (max-width: 1023px) {
    .hero-social-rail {
        right: 50%;
        top: auto;
        bottom: 112px;
        transform: translateX(50%);
        flex-direction: row;
        gap: 10px;
    }
    .hero-social-rail::before,
    .hero-social-rail::after { display: none; }
    .hero-social-link {
        width: 38px;
        height: 38px;
    }
    .hero-social-link:hover,
    .hero-social-link:focus-visible {
        transform: translateY(-2px);
    }
}

@media (max-width: 640px) {
    .hero-social-rail {
        bottom: 86px;
    }
    .hero-stats-row {
        margin-bottom: 54px;
    }
}

/* ---- Quick Access Cards ---- */
.quick-access-section { position: relative; }
.qa-bg-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}
.qa-circle-1 { width:600px;height:600px;background:rgba(14,165,233,0.05);top:-200px;right:-200px; }
.qa-circle-2 { width:500px;height:500px;background:rgba(13,148,136,0.05);bottom:-200px;left:-200px; }
.quick-icon { display: flex; align-items: center; justify-content: flex-start; }

/* ---- About Welcome ---- */
.about-image-collage { position: relative; }
.about-exp-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--primary-color);
    color: white;
    padding: 16px 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(41,67,81,0.25);
}
.exp-number { font-size: 2rem; font-weight: 900; display: block; }
.exp-label  { font-size: 0.7rem; opacity: 0.8; }
.about-accent-card {
    position: absolute;
    top: 20px;
    right: -20px;
    background: white;
    padding: 12px 16px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.about-mission-visual {
    position: relative;
    min-height: 460px;
    background:
        radial-gradient(circle at 22% 20%, rgba(13, 148, 136, 0.18), transparent 28%),
        linear-gradient(135deg, rgba(41, 67, 81, 0.96), rgba(13, 148, 136, 0.82));
    isolation: isolate;
}
.about-mission-visual::before {
    content: '';
    position: absolute;
    inset: 24px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    z-index: 1;
}
.about-mission-content {
    position: absolute;
    inset: 0;
    z-index: 2;
}
.about-mission-orb {
    position: absolute;
    border-radius: 999px;
    opacity: 0.28;
    z-index: 0;
}
.about-mission-orb-primary {
    width: 220px;
    height: 220px;
    left: -56px;
    top: -42px;
    background: #ffffff;
}
.about-mission-orb-accent {
    width: 300px;
    height: 300px;
    right: -96px;
    bottom: -84px;
    background: #5eead4;
}
.about-mission-symbol {
    position: absolute;
    width: 96px;
    height: 96px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.2rem;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.24);
}
.about-mission-symbol-primary {
    top: 90px;
    right: 22%;
    background: rgba(255, 255, 255, 0.16);
}
.about-mission-symbol-accent {
    bottom: 116px;
    left: 22%;
    background: rgba(255, 255, 255, 0.12);
}
.about-mission-line {
    position: absolute;
    top: 50%;
    left: 28%;
    right: 28%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
    transform: rotate(-18deg);
}
.about-mission-card {
    position: absolute;
    max-width: 220px;
    padding: 14px 18px;
    border-radius: 18px;
    color: #fff;
    font-weight: 800;
    line-height: 1.4;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
}
.about-mission-card-left {
    left: 52px;
    top: 80px;
}
.about-mission-card-right {
    right: 52px;
    bottom: 74px;
}
.value-chip {
    background: rgba(41,67,81,0.07);
    color: var(--primary-color);
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid rgba(41,67,81,0.12);
    transition: all 0.2s;
}
.value-chip:hover { background: var(--primary-color); color: white; }

@media (max-width: 640px) {
    .about-mission-visual { min-height: 360px; }
    .about-mission-symbol { width: 78px; height: 78px; font-size: 1.8rem; }
    .about-mission-card { max-width: 170px; padding: 12px 14px; font-size: 0.9rem; }
    .about-mission-card-left { left: 28px; top: 62px; }
    .about-mission-card-right { right: 28px; bottom: 56px; }
}

/* ---- News Cards ---- */
.news-card { border-radius: 20px; overflow: hidden; border: 1px solid #f0f0f0; }

/* ---- Partners ---- */
.partners-marquee-wrap::before,
.partners-marquee-wrap::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}
.partners-marquee-wrap::before { left: 0;  background: linear-gradient(to right, #f9fafb, transparent); }
.partners-marquee-wrap::after  { right: 0; background: linear-gradient(to left,  #f9fafb, transparent); }
[dir="rtl"] .partners-marquee-wrap::before { left: auto; right: 0; background: linear-gradient(to left, #f9fafb, transparent); }
[dir="rtl"] .partners-marquee-wrap::after  { right: auto; left: 0; background: linear-gradient(to right, #f9fafb, transparent); }
.partners-marquee { will-change: transform; backface-visibility: hidden; }

/* ---- Gallery ---- */
.gallery-grid .gallery-item { border-radius: 16px; overflow: hidden; }
.lightbox-overlay { cursor: zoom-out; }

/* ---- Inner Page Hero ---- */
.inner-page-hero { padding-top: 140px; }

/* ---- Breadcrumb ---- */
.breadcrumb { display: flex; align-items: center; font-size: 0.85rem; color: #6b7280; }
.breadcrumb a { color: #6b7280; hover: color: var(--primary-color); }
.breadcrumb a:hover { color: var(--primary-color); }

/* ---- Event Badges ---- */
.event-badge {
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
}
.badge-upcoming  { background: #dbeafe; color: #1d4ed8; }
.badge-ongoing   { background: #d1fae5; color: #065f46; }
.badge-completed { background: #f3f4f6; color: #6b7280; }
.badge-cancelled { background: #fee2e2; color: #991b1b; }

/* ---- Admission Steps ---- */
.step-circle {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--primary-color);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(41,67,81,0.15);
}

/* ---- Contact ---- */
.contact-info-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(41,67,81,0.08);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary-color);
    font-size: 1rem;
    flex-shrink: 0;
}
.social-icon-btn {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: rgba(41,67,81,0.08);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
    font-size: 1rem;
}
.social-icon-btn:hover { background: var(--primary-color); color: white; transform: translateY(-2px); }

/* ---- Form ---- */
.form-label { display: block; font-size: 0.875rem; font-weight: 600; color: #374151; margin-bottom: 6px; }
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.95rem;
    color: #111827;
    background: white;
    transition: all 0.3s ease;
    outline: none;
    font-family: 'Noto Sans Arabic', 'Inter', sans-serif;
}
.form-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(41,67,81,0.1);
}

/* ---- Admin Styles ---- */
.admin-label { display: block; font-size: 0.82rem; font-weight: 600; color: #374151; margin-bottom: 5px; }
.admin-input {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #111827;
    background: white;
    transition: border-color 0.2s;
    font-family: 'Noto Sans Arabic', 'Inter', sans-serif;
}
.admin-input:focus { outline: none; border-color: var(--primary-color); }
.admin-file-input { width:100%; font-size:0.85rem; }
.admin-card { background: white; border-radius: 16px; border: 1px solid #f0f0f0; box-shadow: 0 1px 8px rgba(0,0,0,0.04); }
.admin-table { border-collapse: collapse; }
.admin-table th { background: #f9fafb; padding: 12px 16px; text-align: right; font-size: 0.8rem; font-weight: 600; color: #6b7280; text-transform: uppercase; letter-spacing: 0.05em; }
.admin-table td { padding: 14px 16px; border-top: 1px solid #f3f4f6; vertical-align: middle; }
.admin-btn-primary { display: inline-flex; align-items: center; background: var(--primary-color); color: white; padding: 10px 20px; border-radius: 10px; font-weight: 600; font-size: 0.88rem; transition: all 0.2s; }
.admin-btn-primary:hover { background: #1a2d38; }
.admin-btn-secondary { display: inline-flex; align-items: center; background: #f3f4f6; color: #374151; padding: 10px 20px; border-radius: 10px; font-weight: 600; font-size: 0.88rem; transition: all 0.2s; }
.admin-btn-secondary:hover { background: #e5e7eb; }
.admin-action-btn { width:34px;height:34px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:0.85rem;transition:all 0.2s;cursor:pointer;border:none; }
.admin-action-edit   { background:#dbeafe;color:#1d4ed8; }
.admin-action-edit:hover { background:#1d4ed8;color:white; }
.admin-action-delete { background:#fee2e2;color:#dc2626; }
.admin-action-delete:hover { background:#dc2626;color:white; }
.admin-status-badge { padding:3px 10px;border-radius:999px;font-size:0.72rem;font-weight:600; }
.admin-status-active   { background:#d1fae5;color:#065f46; }
.admin-status-inactive { background:#fee2e2;color:#991b1b; }

.lang-tabs { display:flex;border-bottom:2px solid #e5e7eb; }
.lang-tab {
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6b7280;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
}
.lang-tab.active { color: var(--primary-color); border-bottom-color: var(--primary-color); }

/* ---- RTL Fix: space-x-* spacing direction ---- */
body[dir="rtl"] .space-x-1,
body[dir="rtl"] .space-x-2,
body[dir="rtl"] .space-x-3,
body[dir="rtl"] .space-x-4,
body[dir="rtl"] .space-x-6,
body[dir="rtl"] .space-x-8 {
    --tw-space-x-reverse: 1;
}

/* ---- Global Focus Ring (Accessibility) ---- */
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ---- Empty State ---- */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    text-align: center;
}
.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #d1d5db;
}
.empty-state h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}
.empty-state p {
    font-size: 0.875rem;
    color: #9ca3af;
}

/* ---- Scroll Animations Init ---- */
