/* ==========================================
   AGENDA LAW FIRM - MAIN STYLESHEET
   ==========================================

   Main brand colors:
   Green: rgb(22, 45, 18) / #162D12
   Beige: rgb(210, 204, 175) / #D2CCAF
   White is used as a neutral background.
   ========================================== */

/* Google Font import must precede all CSS rules. */
@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap");


/* ==========================================
   1. الشريط العلوي ومعلومات التواصل (Top Bar)
   ========================================== */












/* ==========================================
   2. الهيدر الرئيسي (Main Header)
   ========================================== */








/* ==========================================
   3. تنسيق الشعار والنص (Header Logo)
   ========================================== */
















/* ==========================================
   4. القائمة الرئيسية وروابط التنقل
   ========================================== */










/* ==========================================
   5. زر التواصل عبر واتساب
   ========================================== */










/* ==========================================
   6. قسم الواجهة الرئيسية (Hero Section)
   ========================================== */












/* ==========================================
   7. حركة أيقونة الدرع
   ========================================== */

@keyframes shieldGlow {

    

    

}




/* ==========================================
   8. تنسيق نصوص الواجهة الرئيسية
   ========================================== */






/* ==========================================
   9. أزرار الواجهة الرئيسية
   ========================================== */

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: rgb(210, 204, 175);
    color: rgb(22, 45, 18);
}

.btn-primary:hover {
    background: rgb(22, 45, 18);
    color: rgb(210, 204, 175);
}

.btn-outline {
    border: 2px solid rgb(210, 204, 175);
    color: rgb(210, 204, 175);
}

.btn-outline:hover {
    background: rgb(210, 204, 175);
    color: rgb(22, 45, 18);
}


/* ==========================================
   10. صورة الواجهة الرئيسية
   ========================================== */








/* ==========================================
   11. تأثير الوهج لإطار الصورة
   ========================================== */

@keyframes frameGlow {

    

    

}


/* ==========================================
   12. ظهور نصوص الواجهة الرئيسية
   ========================================== */

@keyframes ezzBlogReveal {

    

    

}








/* ==========================================
   13. قسم من نحن (About Section)
   White and soft beige background
   ========================================== */

.agenda-home .home-about-section {
    padding: 85px 0;

    background-color: rgb(255, 255, 255);

    background-image:
        radial-gradient(
            circle at 15% 25%,
            rgba(210, 204, 175, 0.25),
            transparent 32%
        ),
        radial-gradient(
            circle at 85% 75%,
            rgba(210, 204, 175, 0.20),
            transparent 35%
        ),
        linear-gradient(
            120deg,
            rgba(210, 204, 175, 0.18) 0%,
            rgb(255, 255, 255) 50%,
            rgba(210, 204, 175, 0.18) 100%
        );
}












/* About image and content layout */




/* ==========================================
   15. About Text Content
   Soft beige background matching the scale.
   ========================================== */

.agenda-home .home-about-content {
    position: relative;

    min-width: 0;
    text-align: right;

    padding: 28px 30px;

    background-color: rgba(210, 204, 175, 0.20);

    border-right: 3px solid rgb(22, 45, 18);
    border-radius: 10px;

    box-shadow: 0 6px 20px rgba(22, 45, 18, 0.045);
}








/* ==========================================
   16. زر تعرف على خدماتنا
   Match the existing primary buttons.
   ========================================== */

.agenda-home .home-about-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin-top: 10px;
    padding: 12px 25px;

    background-color: rgb(210, 204, 175);
    color: rgb(22, 45, 18);

    border-radius: 6px;

    font-size: 15px;
    font-weight: bold;
    text-decoration: none;

    transition: all 0.3s ease;
}

/* About Section - Services Button */

.agenda-home .home-about-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin-top: 10px;
    padding: 0;

    background: transparent;
    border: 1px solid transparent;
    border-radius: 6px;

    color: rgb(22, 45, 18);
    font-weight: 700;
    text-decoration: none;

    transition: all 0.3s ease;
}

.agenda-home .home-about-link:hover {
    padding: 12px 25px;

    background-color: rgb(22, 45, 18);
    border-color: rgb(22, 45, 18);

    color: rgb(210, 204, 175);
    gap: 8px;
}

.agenda-home .home-about-link:hover i {
    color: inherit;
}


/* ==========================================
   19. قسم الخدمات القانونية
   Beige section + white cards
   ========================================== */




































/* ==========================================
   20. قسم قيم التعامل (Values Section)
   White section + beige cards
   ========================================== */


























/* ==========================================
   21. ظهور عنوان قسم القيم
   ========================================== */






/* ==========================================
   22. قسم خطوات حجز الموعد
   Beige section + white cards
   ========================================== */
































/* ==========================================
   23. Responsive About Section
   ========================================== */

@media (max-width: 900px) {

    .agenda-home .home-about-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .agenda-home .agenda-scales-visual {
        min-height: 390px;
    }

    .agenda-home .home-about-content {
        padding: 25px;
    }

}


@media (max-width: 600px) {

    .agenda-home .home-about-section {
        padding: 60px 0;
    }

    .agenda-home .agenda-scales-visual {
        min-height: 320px;
    }

    .agenda-home .agenda-scales-svg {
        max-width: 390px;
    }

    .agenda-home .home-about-content {
        padding: 20px;
    }

    .agenda-home .home-about .home-about-cards {
        grid-template-columns: 1fr;
    }

}























/* ==========================================
   20. قسم التواصل (Contact CTA)
   White section + beige contact cards
   ========================================== */






























/* ==========================================
   21. الفوتر الرئيسي
   ========================================== */





























/* شعار الفوتر */











/* أيقونات التواصل الاجتماعي */







/* حقوق النشر */





/* ==========================================
   AGENDA LAW FIRM - MAIN STYLESHEET
   ==========================================

   Main brand colors:
   Green: rgb(22, 45, 18) / #162D12
   Beige: rgb(210, 204, 175) / #D2CCAF
   White is used as a neutral background.
   ========================================== */

/* Google Font import must precede all CSS rules. */
@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap");


/* ==========================================
   1. الشريط العلوي ومعلومات التواصل (Top Bar)
   ========================================== */

.top-bar {
    background-color: rgb(22, 45, 18);
    color: rgb(210, 204, 175);
    font-size: 15px;
    padding: 8px 0;
}

.top-bar-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-end;
    gap: 30px;
}

.top-bar span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar a {
    color: rgb(210, 204, 175);
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar a:hover {
    color: rgb(255, 255, 255);
}


/* ==========================================
   2. الهيدر الرئيسي (Main Header)
   ========================================== */

.main-header {
    background-color: rgb(210, 204, 175);
    box-shadow: 0 2px 10px rgba(22, 45, 18, 0.08);
    padding: 15px 0;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header a {
    text-decoration: none !important;
}

.header-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    gap: 15px;
}


/* ==========================================
   3. تنسيق الشعار والنص (Header Logo)
   ========================================== */

.header-logo {
    flex-shrink: 0;
}

.header-logo .logo-box {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-decoration: none !important;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    text-align: right;
    justify-content: center;
}

.logo-title {
    font-family: "Tajawal", sans-serif !important;
    font-size: 40px !important;
    font-weight: 900 !important;
    color: rgb(22, 45, 18) !important;
}

.logo-box .logo-icon {
    font-size: 30px;
    color: rgb(22, 45, 18);
}

.logo-subtitle {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: rgb(22, 45, 18) !important;
    margin-top: 3px !important;
}


/* ==========================================
   4. القائمة الرئيسية وروابط التنقل
   ========================================== */

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 15px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-nav a {
    position: relative;
    display: inline-block;
    padding: 8px 12px 27px;
    color: rgb(22, 45, 18);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.main-nav a .nav-icon {
    position: absolute;
    left: 50%;
    bottom: 2px;
    font-size: 13px;
    line-height: 1;
    color: rgb(22, 45, 18);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 5px);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        visibility 0.3s ease;
}

.main-nav a:hover .nav-icon,
.main-nav a:focus-visible .nav-icon,
.main-nav a.active .nav-icon,
.main-nav .current-menu-item > a .nav-icon,
.main-nav .current_page_item > a .nav-icon {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}


/* ==========================================
   5. زر التواصل عبر واتساب
   ========================================== */

.whatsapp-btn {
    background-color: rgb(22, 45, 18);
    color: rgb(255, 255, 255) !important;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.whatsapp-btn i {
    font-size: 18px;
    color: rgb(210, 204, 175);
}

.whatsapp-btn:hover {
    background-color: rgb(22, 85, 18);
    color: rgb(210, 204, 175) !important;
}

.whatsapp-btn:hover i {
    color: rgb(210, 204, 175);
}


/* ==========================================
   6. قسم الواجهة الرئيسية (Hero Section)
   ========================================== */

.hero-split-section {
    position: relative;

    background-image:
        linear-gradient(
            rgba(22, 45, 18, 0.1),
            rgba(22, 45, 18, 0.1)
        ),
        url("/img/hero-bg.jpg");

    /* cover preserves the image proportions instead of stretching it. */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    min-height: 85vh;
    display: flex;
    align-items: center;

    color: rgb(255, 255, 255);
    overflow: hidden;
}

.hero-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: linear-gradient(
        135deg,
        rgba(22, 45, 18, 0.66) 0%,
        rgba(22, 45, 18, 0.82) 100%
    );

    z-index: 1;
}

.hero-split-container {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;

    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text-col {
    flex: 1.2;
    min-width: 0;
    text-align: right;
}

.hero-badge {
    background: rgba(210, 204, 175, 0.25);
    color: rgb(210, 204, 175);

    padding: 8px 16px;
    border-radius: 20px;
    font-size: 15px;

    display: inline-block;
    margin-bottom: 20px;

    border: 1px solid rgba(210, 204, 175, 0.4);
}


/* ==========================================
   7. حركة أيقونة الدرع
   ========================================== */

@keyframes shieldGlow {

    0%, 100% {
        filter: drop-shadow(0 0 0 rgba(210, 204, 175, 0));
        transform: scale(1);
    }

    50% {
        filter: drop-shadow(0 0 6px rgba(210, 204, 175, 0.9));
        transform: scale(1.2);
    }

}

.hero-badge .fas.fa-shield-alt {
    display: inline-block;
    animation: shieldGlow 2s ease-in-out infinite;
}


/* ==========================================
   8. تنسيق نصوص الواجهة الرئيسية
   ========================================== */

.hero-text-col h1 {
    font-size: 40px;
    color: rgb(210, 204, 175);
    margin-bottom: 25px;
    line-height: 1.3;
    font-weight: bold;
}

.hero-text-col p {
    font-size: 20px;
    color: rgb(210, 204, 175);
    line-height: 1.8;
    margin-bottom: 30px;
}


/* Shared Button Style */
.btn,
.agenda-home .home-about-link {
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Primary Button */
.btn-primary,
.agenda-home .home-about-link {
    background: rgb(210, 204, 175);
    color: rgb(22, 45, 18);
}

/* Same Hover Effect */
.btn-primary:hover,
.agenda-home .home-about-link:hover {
    background: rgb(22, 45, 18);
    color: rgb(210, 204, 175);
}

/* ==========================================
   10. صورة الواجهة الرئيسية
   ========================================== */

.hero-image-col {
    flex: 0.8;
    min-width: 0;
    display: flex;
    justify-content: center;
}

.logo-image-frame {
    transition: none;
    box-shadow: none;
    animation: frameGlow 2s ease-in-out infinite;
}

.logo-image-frame img {
    animation:
        ezzBlogReveal 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.1s both;

    width: 100%;
    max-width: 340px;
    height: auto;

    border-radius: 10px;
    display: block;
    object-fit: contain;

    transition: none;
}


/* ==========================================
   11. تأثير الوهج لإطار الصورة
   ========================================== */

@keyframes frameGlow {

    0%, 100% {
        filter: drop-shadow(0 0 0 rgba(210, 204, 175, 0));
        transform: scale(1);
    }

    50% {
        filter: drop-shadow(0 0 6px rgba(210, 204, 175, 0.9));
        transform: scale(1.02);
    }

}


/* ==========================================
   12. ظهور نصوص الواجهة الرئيسية
   ========================================== */

@keyframes ezzBlogReveal {

    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }

}

.hero-text-col .hero-badge {
    opacity: 0;
    animation:
        ezzBlogReveal 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.1s forwards;
}

.hero-text-col h1 {
    opacity: 0;
    animation:
        ezzBlogReveal 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.25s forwards;
}

.hero-text-col p {
    opacity: 0;
    animation:
        ezzBlogReveal 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.4s forwards;
}


/* ==========================================
   13. قسم من نحن (About Section)
   ========================================== */

.agenda-home .home-about-section {
    padding: 85px 0;
    background-color: rgb(255, 255, 255);
}

.agenda-home .home-about-wrapper {
    max-width: 1500px;
    margin: 0 auto;
    text-align: center;
    color: rgb(22, 45, 18);
}

.agenda-home .home-about-heading {
    text-align: center;
    margin-bottom: 40px;
}

.agenda-home .home-section-label {
    display: inline-block;
    background-color: rgb(210, 204, 175);
    color: rgb(22, 45, 18);
    border: 1px solid rgb(22, 45, 18);
    border-radius: 25px;
    padding: 7px 18px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}

.agenda-home .home-about-heading h2 {
    color: rgb(22, 45, 18);
    font-size: 36px;
    line-height: 1.5;
    margin: 0;
}

.agenda-home .home-about-heading h2 span {
    display: block;
    color: rgb(22, 45, 18);
}

/* About image and content layout */

.agenda-home .home-about-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 45px;
    margin-bottom: 45px;
}

/* Image container and hover overlay */

.agenda-home .home-about-image {
    position: relative;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    isolation: isolate;

    border: 1px solid rgb(22, 45, 18);
    border-radius: 12px;

    box-shadow: 0 8px 24px rgba(22, 45, 18, 0.12);
}

.agenda-home .home-about-image img {
    display: block;
    width: 100%;
    height: 390px;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.agenda-home .home-about-image-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 25px;

    background-color: rgba(22, 45, 18, 0.78);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.4s ease,
        visibility 0.4s ease;
}

.agenda-home .home-about-image-overlay span {
    color: rgb(210, 204, 175);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.8;
    text-align: center;

    transform: translateY(12px);
    transition: transform 0.4s ease;
}

@media (hover: hover) and (pointer: fine) {

    .agenda-home .home-about-image:hover img {
        transform: scale(1.06);
    }

    .agenda-home .home-about-image:hover .home-about-image-overlay {
        opacity: 1;
        visibility: visible;
    }

    .agenda-home .home-about-image:hover .home-about-image-overlay span {
        transform: translateY(0);
    }

}

.agenda-home .home-about-content {
    min-width: 0;
    text-align: right;
}

.agenda-home .home-about-content p {
    color: rgb(22, 45, 18);
    font-size: 18px;
    line-height: 2;
    margin: 0 0 18px;
}

.agenda-home .home-about-content .home-about-intro {
    font-weight: 700;
}

.agenda-home .home-about-content .home-about-details {
    font-weight: 400;
}

.agenda-home .home-about-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;

    color: rgb(22, 45, 18);
    font-weight: 700;
    text-decoration: none;

    transition: gap 0.3s ease;
}

.agenda-home .home-about-link:hover {
    gap: 16px;
}


/* ==========================================
   14. كروت الرؤية والرسالة والمنهجية
   White section + beige cards
   ========================================== */

.agenda-home .home-about .home-about-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;

    width: 100%;
    max-width: 1500px;

    margin: 35px auto 0;
    text-align: right;
    align-items: stretch;
}

.agenda-home .home-about .home-info-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 280px;

    box-sizing: border-box;

    background-color: rgb(210, 204, 175);
    border: 1px solid rgb(22, 45, 18);
    border-radius: 12px;

    padding: 22px 18px;

    color: rgb(22, 45, 18);

    transition:
        background-color 0.4s ease,
        color 0.4s ease,
        border-color 0.4s ease,
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.agenda-home .home-about .home-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    border-radius: 14px;
    background-color: rgb(22, 45, 18);
    color: rgb(210, 204, 175);

    font-size: 30px;

    transition:
        background-color 0.4s ease,
        color 0.4s ease,
        transform 0.4s ease;
}

.agenda-home .home-about .home-info-card h3 {
    color: rgb(22, 45, 18);
    margin: 18px 0 12px;
    font-size: 25px;
    transition: color 0.4s ease;
}

.agenda-home .home-about .home-info-card p {
    color: rgb(22, 45, 18);
    font-size: 17px;
    margin: 0;
    line-height: 1.95;
    transition: color 0.4s ease;
}

.agenda-home .home-about .home-info-card:hover {
    background-color: rgb(22, 45, 18);
    border-color: rgb(210, 204, 175);
    color: rgb(210, 204, 175);

    transform: translateY(-5px);
    box-shadow: 0 8px 22px rgba(22, 45, 18, 0.18);
}

.agenda-home .home-about .home-info-card:hover h3,
.agenda-home .home-about .home-info-card:hover p {
    color: rgb(210, 204, 175);
}

.agenda-home .home-about .home-info-card:hover .home-card-icon {
    background-color: rgb(210, 204, 175);
    color: rgb(22, 45, 18);
    transform: translateY(-3px);
}


/* ==========================================
   15. نصوص قسم من نحن (About Reveal)
   ========================================== */

.agenda-home .home-about .about-reveal {
    opacity: 0;
    transform: translateY(35px);

    transition:
        opacity 0.9s ease,
        transform 0.9s ease;
}

.agenda-home .home-about .about-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.agenda-home .home-about .home-about-details.about-reveal {
    transition-delay: 0.2s;
}


/* ==========================================
   16. قسم الخدمات القانونية
   Beige section + white cards
   ========================================== */

.agenda-home .home-services-section {
    padding: 85px 0;
    background-color: rgb(210, 204, 175);
}

.agenda-home .home-services-section .home-section-label {
    background-color: rgb(22, 45, 18);
    color: rgb(210, 204, 175);
    border-color: rgb(22, 45, 18);
}

.agenda-home .home-services-section .home-section-heading {
    max-width: 850px;
    margin: 0 auto 45px;
    text-align: center;
}

.agenda-home .home-services-section .home-section-heading h2 {
    color: rgb(22, 45, 18);
    font-size: 34px;
    line-height: 1.5;
    margin: 0 0 15px;
}

.agenda-home .home-services-section .home-section-heading p {
    color: rgb(22, 45, 18);
    font-size: 17px;
    line-height: 1.9;
    margin: 0;
}

.agenda-home .home-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.agenda-home .home-service-card {
    min-width: 0;
    display: flex;
    flex-direction: column;

    background-color: rgb(255, 255, 255);
    border: 1px solid rgb(22, 45, 18);
    border-radius: 12px;

    overflow: hidden;

    transition:
        background-color 0.4s ease,
        color 0.4s ease,
        border-color 0.4s ease,
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.agenda-home .home-service-card:hover {
    background-color: rgb(22, 45, 18);
    border-color: rgb(210, 204, 175);

    transform: translateY(-5px);
    box-shadow: 0 8px 22px rgba(22, 45, 18, 0.18);
}

.agenda-home .home-service-content {
    flex: 1;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    padding: 28px 24px;
}

.agenda-home .home-service-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 55px;
    height: 55px;

    border-radius: 13px;
    background-color: rgb(22, 45, 18);
    color: rgb(210, 204, 175);

    font-size: 25px;
    margin-bottom: 20px;

    transition:
        background-color 0.4s ease,
        color 0.4s ease,
        transform 0.4s ease;
}

.agenda-home .home-service-content h3 {
    color: rgb(22, 45, 18);
    font-size: 22px;
    line-height: 1.5;
    margin: 0 0 12px;
    transition: color 0.4s ease;
}

.agenda-home .home-service-content p {
    flex: 1;
    color: rgb(22, 45, 18);
    font-size: 16px;
    line-height: 1.9;
    margin: 0 0 20px;
    transition: color 0.4s ease;
}

.agenda-home .home-service-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: rgb(22, 45, 18);
    font-weight: 700;
    text-decoration: none;

    transition:
        gap 0.3s ease,
        color 0.4s ease;
}

.agenda-home .home-service-link:hover {
    gap: 15px;
}

.agenda-home .home-service-card:hover h3,
.agenda-home .home-service-card:hover p,
.agenda-home .home-service-card:hover .home-service-link {
    color: rgb(210, 204, 175);
}

.agenda-home .home-service-card:hover .home-service-icon {
    background-color: rgb(210, 204, 175);
    color: rgb(22, 45, 18);
    transform: translateY(-3px);
}

.agenda-home .home-services-action {
    display: flex;
    justify-content: center;
    margin-top: 38px;
}


/* ==========================================
   17. قسم قيم التعامل (Values Section)
   White section + beige cards
   ========================================== */

.agenda-home .home-values-section {
    padding: 85px 0;
    background-color: rgb(255, 255, 255);
}

.agenda-home .home-values-section .section-title {
    text-align: center;
    margin-bottom: 40px;
}

.agenda-home .home-values-section .section-title h2 {
    color: rgb(22, 45, 18);
    font-size: 35px;
    margin: 0 0 15px;
}

.agenda-home .home-values-section .section-title p {
    color: rgb(22, 45, 18);
    font-size: 17px;
    line-height: 1.9;
    max-width: 900px;
    margin: 0 auto;
}

.agenda-home .home-values-section .values-grid-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;

    max-width: 1500px;
    margin: 35px auto 0;

    align-items: stretch;
    text-align: right;
}

.agenda-home .home-values-section .value-item-card {
    width: 100%;
    min-width: 0;
    min-height: 260px;

    box-sizing: border-box;

    background-color: rgb(210, 204, 175);
    border: 1px solid rgb(22, 45, 18);
    border-radius: 12px;

    padding: 25px 20px;

    color: rgb(22, 45, 18);

    transition:
        background-color 0.4s ease,
        color 0.4s ease,
        border-color 0.4s ease,
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.agenda-home .home-values-section .value-item-card > i {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    border-radius: 14px;
    background-color: rgb(22, 45, 18);
    color: rgb(210, 204, 175);

    font-size: 30px;

    transition:
        background-color 0.4s ease,
        color 0.4s ease,
        transform 0.4s ease;
}

.agenda-home .home-values-section .value-item-card h3 {
    color: rgb(22, 45, 18);
    font-size: 25px;
    margin: 18px 0 12px;
    transition: color 0.4s ease;
}

.agenda-home .home-values-section .value-item-card p {
    color: rgb(22, 45, 18);
    font-size: 17px;
    line-height: 1.95;
    margin: 0;
    transition: color 0.4s ease;
}

.agenda-home .home-values-section .value-item-card:hover {
    background-color: rgb(22, 45, 18);
    border-color: rgb(210, 204, 175);

    transform: translateY(-5px);
    box-shadow: 0 8px 22px rgba(22, 45, 18, 0.18);
}

.agenda-home .home-values-section .value-item-card:hover h3,
.agenda-home .home-values-section .value-item-card:hover p {
    color: rgb(210, 204, 175);
}

.agenda-home .home-values-section .value-item-card:hover > i {
    background-color: rgb(210, 204, 175);
    color: rgb(22, 45, 18);
    transform: translateY(-3px);
}


/* ==========================================
   18. ظهور عنوان قسم القيم
   ========================================== */

.agenda-home .home-values-section .values-reveal {
    opacity: 0;
    transform: translateY(35px);

    transition:
        opacity 0.9s ease,
        transform 0.9s ease;
}

.agenda-home .home-values-section .values-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================
   19. قسم خطوات حجز الموعد
   Beige section + white cards
   ========================================== */

.agenda-home .home-process-section {
    padding: 85px 0;
    background-color: rgb(210, 204, 175);
}

.agenda-home .home-process-section .home-section-label {
    background-color: rgb(22, 45, 18);
    color: rgb(210, 204, 175);
    border-color: rgb(22, 45, 18);
}

.agenda-home .home-process-section .home-section-heading {
    max-width: 850px;
    margin: 0 auto 45px;
    text-align: center;
}

.agenda-home .home-process-section .home-section-heading h2 {
    color: rgb(22, 45, 18);
    font-size: 34px;
    line-height: 1.5;
    margin: 0 0 15px;
}

.agenda-home .home-process-section .home-section-heading p {
    color: rgb(22, 45, 18);
    font-size: 17px;
    line-height: 1.9;
    margin: 0;
}

.agenda-home .home-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.agenda-home .home-process-card {
    min-width: 0;

    padding: 28px 22px;

    background-color: rgb(255, 255, 255);
    border: 1px solid rgb(22, 45, 18);
    border-radius: 12px;

    text-align: center;

    transition:
        background-color 0.4s ease,
        color 0.4s ease,
        border-color 0.4s ease,
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.agenda-home .home-process-card:hover {
    background-color: rgb(22, 45, 18);
    border-color: rgb(210, 204, 175);

    transform: translateY(-5px);
    box-shadow: 0 8px 22px rgba(22, 45, 18, 0.18);
}

.agenda-home .home-process-number {
    width: 45px;
    height: 45px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background-color: rgb(22, 45, 18);
    color: rgb(210, 204, 175);

    font-size: 15px;
    font-weight: 800;

    transition:
        background-color 0.4s ease,
        color 0.4s ease,
        transform 0.4s ease;
}

.agenda-home .home-process-icon {
    color: rgb(22, 45, 18);
    font-size: 30px;
    margin-bottom: 15px;
    transition: color 0.4s ease;
}

.agenda-home .home-process-card h3 {
    color: rgb(22, 45, 18);
    font-size: 21px;
    margin: 0 0 12px;
    transition: color 0.4s ease;
}

.agenda-home .home-process-card p {
    color: rgb(22, 45, 18);
    font-size: 16px;
    line-height: 1.9;
    margin: 0;
    transition: color 0.4s ease;
}

.agenda-home .home-process-card:hover h3,
.agenda-home .home-process-card:hover p,
.agenda-home .home-process-card:hover .home-process-icon {
    color: rgb(210, 204, 175);
}

.agenda-home .home-process-card:hover .home-process-number {
    background-color: rgb(210, 204, 175);
    color: rgb(22, 45, 18);
    transform: translateY(-3px);
}

.agenda-home .home-process-action {
    display: flex;
    justify-content: center;
    margin-top: 35px;
}


/* ==========================================
   20. قسم التواصل (Contact CTA)
   White section + beige contact cards
   ========================================== */

.contact-cta-section {
    background: rgb(255, 255, 255);
    padding: 75px 20px;
    text-align: center;
    direction: rtl;
}

.contact-cta-section .section-title h2 {
    color: rgb(22, 45, 18);
    font-size: 34px;
    font-weight: bold;
    margin-bottom: 15px;
}

.contact-cta-section .section-title p {
    color: rgb(22, 45, 18);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 35px;
}

.contact-info-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 35px;
}

.contact-info-row > div {
    display: flex;
    align-items: center;
    gap: 12px;

    color: rgb(22, 45, 18);
    font-size: 16px;
    font-weight: bold;

    background: rgb(210, 204, 175);
    border: 1px solid rgb(22, 45, 18);
    border-radius: 10px;

    padding: 17px 24px;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.contact-info-row > div i {
    color: rgb(22, 45, 18);
    font-size: 20px;
    transition: color 0.3s ease;
}

.contact-info-row > div a {
    color: rgb(22, 45, 18);
    text-decoration: none;
}

.contact-info-row > div:hover {
    background: rgb(22, 45, 18);
    color: rgb(210, 204, 175);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(22, 45, 18, 0.15);
}

.contact-info-row > div:hover i,
.contact-info-row > div:hover a {
    color: rgb(210, 204, 175);
}

.contact-btn-box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.contact-btn-box .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: rgb(22, 45, 18);
    color: rgb(210, 204, 175);

    border: 1px solid rgb(22, 45, 18);
    padding: 14px 35px;
    border-radius: 8px;

    font-size: 16px;
    font-weight: bold;
    text-decoration: none;

    transition: all 0.3s ease;
}

.contact-btn-box .btn-primary:hover {
    background: rgb(210, 204, 175);
    color: rgb(22, 45, 18);
    transform: translateY(-4px);
}

.home-contact-whatsapp {
    background-color: rgb(22, 45, 18);
    color: rgb(210, 204, 175);
    border: 1px solid rgb(22, 45, 18);
}

.home-contact-whatsapp:hover {
    background-color: rgb(210, 204, 175);
    color: rgb(22, 45, 18);
}


/* ==========================================
   21. الفوتر الرئيسي
   ========================================== */

.footer-executive {
    background: rgb(22, 45, 18);
    color: rgb(210, 204, 175);
    direction: rtl;
    padding: 65px 20px 0;
}

.footer-grid-4 {
    max-width: 1250px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;

    padding-bottom: 50px;
}

.footer-executive .f-col {
    min-width: 0;
}

.footer-executive .f-col h4 {
    color: rgb(210, 204, 175);
    font-size: 19px;
    font-weight: bold;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 13px;
}

.footer-executive .f-col h4::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 45px;
    height: 2px;
    background: rgb(210, 204, 175);
}

.footer-executive .f-col p {
    color: rgb(210, 204, 175);
    font-size: 14px;
    line-height: 2;
    margin-bottom: 12px;
}

.footer-executive .f-col p i {
    color: rgb(210, 204, 175);
    margin-left: 9px;
    font-size: 15px;
}

.footer-executive .f-col p a {
    color: rgb(210, 204, 175);
    text-decoration: none;
}

.footer-executive .f-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-executive .f-col ul li {
    margin-bottom: 13px;
}

.footer-executive .f-col ul li a {
    color: rgb(210, 204, 175);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-executive .f-col ul li a::before {
    content: "←";
    margin-left: 8px;
    color: rgb(210, 204, 175);
    transition: all 0.3s ease;
}

.footer-executive .f-col ul li a:hover {
    color: rgb(255, 255, 255);
    transform: translateX(-5px);
}

.footer-executive .f-col ul li a:hover::before {
    color: rgb(255, 255, 255);
}

/* شعار الفوتر */

.footer-logo-group {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
}

.footer-logo-group > i {
    font-size: 38px;
    color: rgb(210, 204, 175);
    transition: transform 0.4s ease;
}

.footer-logo-group:hover > i {
    transform: scale(1.12);
}

.footer-logo-group h3 {
    color: rgb(210, 204, 175);
    font-size: 23px;
    font-weight: bold;
    margin: 0 0 5px;
}

.footer-logo-group span {
    color: rgb(210, 204, 175);
    font-size: 13px;
}

/* أيقونات التواصل الاجتماعي */

.social-icons-box {
    display: flex;
    align-items: center;
    gap: 13px;
}

.social-icons-box a {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(210, 204, 175, 0.1);
    border: 1px solid rgba(210, 204, 175, 0.35);
    border-radius: 10px;

    color: rgb(210, 204, 175);
    font-size: 17px;

    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons-box a:hover {
    background: rgb(210, 204, 175);
    color: rgb(22, 45, 18);
    transform: translateY(-5px);
}

/* حقوق النشر */

.footer-copyright-bar {
    border-top: 1px solid rgba(210, 204, 175, 0.2);
    text-align: center;
    padding: 20px 10px;
}

.footer-copyright-bar p {
    color: rgba(210, 204, 175, 0.75);
    font-size: 13px;
    margin: 0;
}


/* ==========================================
   22. تجاوب الصفحة الرئيسية مع الأجهزة
   ========================================== */

@media (max-width: 1100px) {

    

    

    

    

    

}

@media (max-width: 900px) {

    

}

@media (max-width: 768px) {

    

    

    

    

    

    

    

    

    

    /* Hero */

    

    

    

    

    

    

    

    

    /* About */

    

    

    

    

    

    

    

    

    

    

    

    /* Services */

    

    

    

    

    /* Values */

    

    

    

    

    /* Appointment Process */

    

    

    

    /* Contact */

    

    

    

    

    

    

    /* Footer */

    

}

@media (max-width: 576px) {

    

    

}

@media (max-width: 400px) {

    

    

    

    

    

    

}


/* ==========================================
   23. تقليل الحركة وإمكانية الوصول
   ========================================== */

@media (prefers-reduced-motion: reduce) {

    

    

    

    

    

}


/* ==========================================
   24. صفحة تسجيل الدخول
   ========================================== */































/* قسم النموذج */

























































/* توافق صفحة الدخول مع الهاتف */

@media (max-width: 992px) {

    

    

    

}


/* ==========================================
   25. قسم حجز الموعد ومعلومات التواصل
   ========================================== */















/* شبكة الحجز */



/* كروت الحجز ومعلومات التواصل */





/* نموذج الحجز */

















/* زر إرسال الحجز */





/* معلومات التواصل */













/* ساعات العمل */








/* ==========================================
   26. صفحة الخدمات القانونية
   ========================================== */









/* عنوان الخدمات */











/* شبكة البطاقات */







/* أيقونة البطاقة */





/* العناوين */







/* قائمة الخدمات */











/* ==========================================
   ADDITIONAL RESPONSIVE STYLES - SERVICES PAGE
   ========================================== */

@media (max-width: 768px) {

    /* Services section spacing */
    

    /* Section heading */
    

    

    

    /* Services cards */
    

    

    

    

    

}


/* ==========================================
   ACCESSIBILITY - REDUCED MOTION
   ========================================== */

@media (prefers-reduced-motion: reduce) {

    

}


/* ==========================================
   27. BLOG PAGE
   Complete replacement for section 27 only.
   Brand colors: Green #162D12, Beige #D2CCAF, White
   ========================================== */

/* Blog page base */




/* ==========================================
   27.1. HERO SECTION
   Uses the shared hero styles from style.css.
   ========================================== */

/* ==========================================
   27.2. SECTION BACKGROUNDS AND HEADINGS
   ========================================== */















/* ==========================================
   27.3. CATEGORY CARDS
   Beige cards on white background.
   Same green hover as homepage cards.
   ========================================== */



















/* ==========================================
   27.4. LATEST POSTS LAYOUT
   Main article grid + sidebar widgets.
   ========================================== */

























/* ==========================================
   27.5. BLOG SIDEBAR WIDGETS
   ========================================== */









/* Search form */










/* Categories sidebar list */










/* Recent posts sidebar list */
















/* Filter summary */






/* ==========================================
   27.6. EMPTY STATES
   ========================================== */









/* Visually hidden form label */


/* ==========================================
   27.7. CONTACT SECTION
   ========================================== */















/* ==========================================
   27.8. RESPONSIVE LAYOUT
   ========================================== */

@media (max-width: 1100px) {
    

    
}

@media (max-width: 900px) {
    

    

    

    
}

@media (max-width: 768px) {
    

    

    

    

    

    

    

    

    

    

    
}

/* ==========================================
   27.9. REDUCED MOTION
   ========================================== */

@media (prefers-reduced-motion: reduce) {
    

    
}


/* ==========================================
   28. تفاصيل المقالات
   ========================================== */

































/* تجاوب المقالات */

@media (max-width: 768px) {

    

    

    

    

    

    

    

}

@media (max-width: 480px) {

    

    

    

}

@media (prefers-reduced-motion: reduce) {

    

}


/* ==========================================
   29. إعدادات عامة للصفحات
   ========================================== */






/* ==========================================
   30. لوحة الإدارة (Admin Dashboard)
   الألوان متوافقة مع هوية أجندة
   ========================================== */

.admin-body {
    --admin-green: #162D12;
    --admin-green-hover: #24451D;
    --admin-beige: #D2CCAF;
    --admin-beige-light: #F3F0E6;
    --admin-page-bg: #F7F6F1;
    --admin-white: #FFFFFF;
    --admin-text: #30392C;
    --admin-muted: #817F74;
    --admin-border: #E5E1D5;
    --admin-form-bg: #FBFAF6;

    margin: 0;
    background: var(--admin-page-bg);
    color: var(--admin-text);
    font-family: "Cairo", Arial, sans-serif;
    direction: rtl;
}

.admin-body,
.admin-body * {
    box-sizing: border-box;
}



/* ------------------------------------------
   Sidebar
   ------------------------------------------ */

.admin-body .sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 20;

    display: flex;
    flex-direction: column;

    width: 260px;
    padding: 27px 17px;
    overflow-y: auto;

    background: var(--admin-green);
    color: var(--admin-beige);
    box-shadow: -8px 0 25px rgba(22, 45, 18, .09);
}

/* نفس بناء الشعار المستخدم في بوابة العميل */
.admin-body .brand {
    display: flex;
    align-items: center;
    gap: 13px;

    padding: 7px 10px 25px;
    border-bottom: 1px solid rgba(210, 204, 175, .24);

    color: var(--admin-beige);
    text-decoration: none;
}

.admin-body .brand > i {
    flex: 0 0 auto;
    font-size: 31px;
}

.admin-body .brand span {
    display: flex;
    flex-direction: column;
}

.admin-body .brand strong {
    color: var(--admin-beige);
    font-size: 22px;
    line-height: 1.5;
}

.admin-body .brand small {
    color: var(--admin-beige);
    font-size: 11px;
    opacity: .78;
}

.admin-body .sidebar-title {
    margin: 29px 12px 12px;
    font-size: 11px;
    opacity: .68;
}

.admin-body .sidebar a:not(.brand) {
    display: flex;
    align-items: center;
    gap: 13px;

    min-height: 47px;
    margin-bottom: 7px;
    padding: 0 14px;
    border-radius: 8px;

    color: var(--admin-beige);
    font-size: 13px;
    text-decoration: none;

    transition: background-color .2s ease, color .2s ease;
}

.admin-body .sidebar a:not(.brand):hover,
.admin-body .sidebar a:not(.brand).active {
    background: var(--admin-beige);
    color: var(--admin-green);
}

.admin-body .sidebar a:not(.brand) i {
    width: 19px;
    flex: 0 0 19px;
    font-size: 15px;
    text-align: center;
}

.admin-body .brand:focus-visible,
.admin-body .sidebar a:focus-visible {
    outline: 2px solid var(--admin-beige);
    outline-offset: 3px;
}

/* ------------------------------------------
   Main area and header
   ------------------------------------------ */

.admin-body .main-content {
    width: calc(100% - 260px);
    min-width: 0;
    margin-right: 260px;
    padding: 32px;
}

.admin-body .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.admin-body .topbar h1 {
    margin: 0 0 8px;
    color: var(--admin-green);
    font-size: 26px;
}

.admin-body .topbar p {
    margin: 0;
    color: var(--admin-muted);
    font-size: 13px;
}

.admin-body .admin-profile {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 10px 16px;
    border-radius: 10px;
    background: var(--admin-white);
    white-space: nowrap;
}

.admin-body .admin-profile i {
    padding: 11px;
    border-radius: 50%;
    background: var(--admin-green);
    color: var(--admin-beige);
}

/* ------------------------------------------
   Flash messages
   ------------------------------------------ */

.admin-body .flash-message {
    display: flex;
    align-items: center;
    gap: 10px;

    margin: 0 0 23px;
    padding: 14px 17px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 13px;
}

.admin-body .flash-message.success {
    border-color: #C9DFC5;
    background: #EAF3E7;
    color: #285B2B;
}

.admin-body .flash-message.error {
    border-color: #EBCBC5;
    background: #FAEAE7;
    color: #963B32;
}

/* ------------------------------------------
   Overview cards
   ------------------------------------------ */

.admin-body .section-heading {
    margin: 0 0 18px;
    color: var(--admin-green);
    font-size: 19px;
}



.admin-body .stat-card {
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--admin-border);
    border-radius: 12px;
    background: var(--admin-white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, .03);
}

.admin-body .stat-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
}

.admin-body .stat-top p {
    margin: 0;
    color: var(--admin-muted);
    font-size: 13px;
}

.admin-body .stat-icon {
    display: grid;
    flex: 0 0 43px;
    place-items: center;

    width: 43px;
    height: 43px;
    border-radius: 10px;
    background: var(--admin-beige-light);
    color: var(--admin-green);
    font-size: 18px;
}

.admin-body .stat-card h3 {
    margin: 0 0 6px;
    color: var(--admin-green);
    font-size: 27px;
}

.admin-body .stat-card > p {
    margin: 0;
    color: var(--admin-muted);
    font-size: 12px;
}

/* ------------------------------------------
   Shared section cards and headings
   ------------------------------------------ */

.admin-body .admin-section {
    margin-bottom: 25px;
    padding: 23px;
    border: 1px solid var(--admin-border);
    border-radius: 12px;
    background: var(--admin-white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, .025);
    scroll-margin-top: 20px;
}

.admin-body .section-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 22px;
}

.admin-body .section-title-row h2 {
    margin: 0 0 7px;
    color: var(--admin-green);
    font-size: 19px;
}

.admin-body .section-title-row p {
    margin: 0;
    color: var(--admin-muted);
    font-size: 12px;
}



.admin-body .result-count {
    color: var(--admin-muted);
    font-size: 12px;
    white-space: nowrap;
}

/* ------------------------------------------
   Buttons
   ------------------------------------------ */

.admin-body .btn-primary,
.admin-body .btn-light,
.admin-body .btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-height: 40px;
    padding: 9px 14px;
    border: 0;
    border-radius: 7px;

    font-family: inherit;
    font-size: 12px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;

    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.admin-body .btn-primary {
    background: var(--admin-green);
    color: var(--admin-beige);
}

.admin-body .btn-primary:hover {
    background: var(--admin-green-hover);
    color: var(--admin-beige);
}

.admin-body .btn-light {
    border: 1px solid var(--admin-border);
    background: var(--admin-beige-light);
    color: var(--admin-green);
}

.admin-body .btn-light:hover {
    background: #E8E3D3;
    color: var(--admin-green);
}

.admin-body .btn-danger {
    background: #FAE8E5;
    color: #9B382F;
}

.admin-body .btn-danger:hover {
    background: #F2D5D0;
    color: #852C25;
}



/* Keep the edit control visible and clickable in action columns. */
.admin-body .admin-section .action-group > .admin-edit-form {
    position: relative !important;
    z-index: 10 !important;

    display: inline-flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.admin-body .admin-section .admin-edit-form .admin-edit-trigger {
    position: relative !important;
    z-index: 11 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;

    min-width: 76px !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 7px 12px !important;
    border: 1px solid var(--admin-border) !important;
    border-radius: 7px !important;

    background: var(--admin-beige-light) !important;
    color: var(--admin-green) !important;
    font-family: inherit !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    cursor: pointer !important;

    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
}

.admin-body .admin-section .admin-edit-form .admin-edit-trigger:hover {
    background: #E8E3D3 !important;
    color: var(--admin-green) !important;
}

/* ------------------------------------------
   Filters and forms
   ------------------------------------------ */



.admin-body .filter-form input,
.admin-body .filter-form select,
.admin-body .inline-form select,
.admin-body .field input,
.admin-body .field select,
.admin-body .field textarea {
    min-height: 41px;
    max-width: 100%;
    padding: 11px 12px;
    border: 1px solid var(--admin-border);
    border-radius: 7px;
    outline: none;

    background: var(--admin-white);
    color: var(--admin-text);
    font-family: inherit;
    font-size: 13px;
}





.admin-body .filter-form input:focus,
.admin-body .filter-form select:focus,
.admin-body .inline-form select:focus,
.admin-body .field input:focus,
.admin-body .field select:focus,
.admin-body .field textarea:focus {
    border-color: var(--admin-green);
    box-shadow: 0 0 0 3px rgba(22, 45, 18, .09);
}

.admin-body .form-panel {
    margin-bottom: 23px;
    padding: 21px;
    border: 1px solid var(--admin-border);
    border-radius: 10px;
    background: var(--admin-form-bg);
}

.admin-body .form-panel h3 {
    margin: 0 0 19px;
    color: var(--admin-green);
    font-size: 17px;
}



.admin-body .field {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 8px;

    color: #35452F;
    font-size: 13px;
    font-weight: 600;
}







.admin-body .field small {
    color: var(--admin-muted);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.6;
}



.admin-body .inline-alert {
    padding: 12px;
    border-radius: 7px;
    background: #FFF3DC;
    color: #805A16;
    font-size: 13px;
}

/* ------------------------------------------
   Tables and row actions
   ------------------------------------------ */





.admin-body th,
.admin-body td {
    padding: 14px 11px;
    border-bottom: 1px solid #EEEAE1;
    text-align: right;
    vertical-align: middle;
    font-size: 12px;
}

.admin-body th {
    background: var(--admin-form-bg);
    color: #6E7669;
    font-weight: 600;
    white-space: nowrap;
}

.admin-body td {
    color: #42483E;
}

.admin-body tbody tr:hover {
    background: #FCFBF8;
}

.admin-body .empty-cell {
    padding: 29px;
    color: var(--admin-muted);
    text-align: center;
}





.admin-body .title-cell strong {
    margin-bottom: 6px;
    color: var(--admin-green);
}

.admin-body .title-cell small {
    max-width: 270px;
    overflow: hidden;
    color: var(--admin-muted);
    line-height: 1.6;
    text-overflow: ellipsis;
    white-space: nowrap;
}



.admin-body .action-group {
    position: relative !important;
    z-index: 20 !important;

    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;

    overflow: visible !important;
    pointer-events: auto !important;
}

.admin-body .admin-section .table-wrap td,
.admin-body .admin-section .action-group * {
    pointer-events: auto !important;
}





.admin-body .inline-form select {
    min-height: 33px;
    max-width: 130px;
    padding: 5px 7px;
    font-size: 11px;
}

/* ------------------------------------------
   Status labels
   ------------------------------------------ */



.admin-body .status-pending {
    background: #FFF1D8;
    color: #95620C;
}

.admin-body .status-confirmed,
.admin-body .status-admin {
    background: #E8F2E5;
    color: #28612C;
}

.admin-body .status-rejected {
    background: #FAE8E5;
    color: #A3322B;
}

.admin-body .status-completed {
    background: #E9EAF4;
    color: #454C83;
}

.admin-body .status-cancelled {
    background: #EEEEEE;
    color: #555555;
}

.admin-body .status-client {
    background: var(--admin-beige-light);
    color: #705B36;
}

.admin-body .category-icon {
    display: inline-grid;
    place-items: center;

    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--admin-beige-light);
    color: var(--admin-green);
}

.admin-body .you-label {
    display: inline-block;
    margin-right: 5px;
    padding: 3px 7px;
    border-radius: 12px;
    background: #EAF3E7;
    color: #28612C;
    font-size: 10px;
}

.admin-body .muted-note {
    color: var(--admin-muted);
    font-size: 11px;
}

/* ------------------------------------------
   Booking details
   ------------------------------------------ */

.admin-body .details-panel {
    margin-bottom: 22px;
    padding: 20px;
    border: 1px solid var(--admin-border);
    border-radius: 10px;
    background: var(--admin-form-bg);
}

.admin-body .details-panel h3 {
    margin: 0 0 16px;
    color: var(--admin-green);
    font-size: 17px;
}



.admin-body .detail-item {
    min-width: 0;
    padding: 13px;
    overflow-wrap: anywhere;
    border-radius: 7px;
    background: var(--admin-white);
}

.admin-body .detail-item small {
    display: block;
    margin-bottom: 7px;
    color: var(--admin-muted);
}

.admin-body .detail-item strong {
    color: var(--admin-green);
    font-size: 13px;
    line-height: 1.7;
}

.admin-body .text-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--admin-green);
    font-size: 13px;
    text-decoration: none;
}

.admin-body .text-link:hover {
    color: var(--admin-green-hover);
    text-decoration: underline;
}

.admin-body .security-note {
    margin: 18px 0 0;
    padding: 11px 13px;
    border-radius: 7px;
    background: var(--admin-form-bg);
    color: #65715F;
    font-size: 11px;
}



.admin-body .admin-footer {
    padding: 10px 0 25px;
    color: var(--admin-muted);
    font-size: 12px;
    text-align: center;
}

/* ------------------------------------------
   Keyboard focus
   ------------------------------------------ */

.admin-body a:focus-visible,
.admin-body button:focus-visible,
.admin-body input:focus-visible,
.admin-body select:focus-visible,
.admin-body textarea:focus-visible {
    outline: 2px solid var(--admin-green-hover);
    outline-offset: 2px;
}

/* ------------------------------------------
   Responsive layout
   ------------------------------------------ */

@media (max-width: 1100px) {
    
}

@media (max-width: 700px) {
    

    .admin-body .brand {
        justify-content: center;
        padding: 7px 0 25px;
    }

    .admin-body .brand span,
    .admin-body .sidebar-title,
    .admin-body .sidebar a:not(.brand) span {
        display: none;
    }

    .admin-body .brand > i {
        font-size: 25px;
    }

    .admin-body .sidebar a:not(.brand) {
        justify-content: center;
        padding: 0 5px;
    }

    

    .admin-body .stats-grid,
    .admin-body .form-grid,
    .admin-body .details-grid {
        grid-template-columns: 1fr;
    }

    .admin-body .topbar,
    .admin-body .section-title-row {
        align-items: flex-start;
        flex-direction: column;
    }

    

    

    

    

    
}

@media (max-width: 400px) {
    .admin-body .main-content {
        padding: 15px 9px;
    }

    .admin-body .admin-section {
        padding: 16px 12px;
    }

    .admin-body .form-panel,
    .admin-body .details-panel {
        padding: 15px 12px;
    }

    .admin-body .heading-actions,
    .admin-body .form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-body .heading-actions > *,
    .admin-body .form-actions > * {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .admin-body *,
    .admin-body *::before,
    .admin-body *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* ==========================================
   32. بوابة العميل (Client Portal)
   ========================================== */



.client-portal {
    margin: 0;
    min-height: 100vh;

    background: #f3ecdf;
    color: #263322;

    font-family: "Cairo", Arial, sans-serif;
    direction: rtl;
}





.client-sidebar {
    width: 260px;

    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 20;

    display: flex;
    flex-direction: column;

    padding: 27px 17px;

    background: #1b3716;
    color: #f3dcba;

    box-shadow: -8px 0 25px rgba(24,45,20,.08);
}

.client-brand {
    display: flex;
    align-items: center;
    gap: 13px;

    padding: 7px 10px 25px;

    color: #f3dcba;
    text-decoration: none;

    border-bottom: 1px solid rgba(243,220,186,.2);
}







.client-brand small {
    font-size: 11px;
    opacity: .75;
}

.client-nav-caption {
    margin: 29px 12px 12px;
    font-size: 11px;
    opacity: .62;
}

.client-nav {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.client-nav a,
.client-sidebar-bottom a {
    min-height: 47px;

    display: flex;
    align-items: center;
    gap: 13px;

    padding: 0 14px;

    border-radius: 8px;

    color: #f3dcba;
    text-decoration: none;

    font-size: 13px;
    transition: .2s;
}



.client-nav a:hover,
.client-nav a.active,
.client-sidebar-bottom a:hover {
    background: #f3dcba;
    color: #1b3716;
}

.client-sidebar-bottom {
    display: flex;
    flex-direction: column;
    gap: 7px;

    margin-top: auto;
    padding-top: 20px;

    border-top: 1px solid rgba(243,220,186,.2);
}

.client-main {
    width: calc(100% - 260px);
    margin-right: 260px;

    max-width: 1700px;
    padding: 34px clamp(20px, 3vw, 48px) 25px;
}

.client-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.client-eyebrow {
    margin: 0 0 6px;
    color: #987d51;
    font-size: 12px;
    font-weight: 700;
}

.client-topbar h1 {
    margin: 0 0 5px;
    color: #1b3716;
    font-size: clamp(23px, 2.2vw, 30px);
}

.client-topbar p {
    margin: 0;
    color: #7d7b70;
    font-size: 13px;
}

.client-user-chip {
    display: flex;
    align-items: center;
    gap: 11px;

    padding: 10px 15px;

    border: 1px solid #e7dfd0;
    border-radius: 12px;

    background: #fff;
}



.client-user-chip strong {
    color: #1b3716;
    font-size: 12px;
}

.client-user-chip small {
    max-width: 190px;
    color: #888;
    font-size: 10px;
    overflow-wrap: anywhere;
}

.client-avatar {
    display: grid;
    place-items: center;

    width: 39px;
    height: 39px;

    border-radius: 50%;
    background: #1b3716;
    color: #f3dcba;
}

.client-alert {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 13px 16px;
    margin-bottom: 22px;

    border-radius: 9px;
    font-size: 13px;
}

.client-alert.success {
    background: #e7f2e4;
    border: 1px solid #cfe3c9;
    color: #285d2a;
}

.client-alert.error {
    background: #fae9e6;
    border: 1px solid #efcfca;
    color: #963b32;
}





.client-section-heading h2 {
    margin: 0 0 4px;
    color: #1b3716;
    font-size: 20px;
}

.client-section-heading p {
    margin: 0;
    color: #858176;
    font-size: 12px;
}

/* Replace the old .client-next-appointment > a selector with this one. */
.client-next-appointment > a:not(.client-primary-link) {
    color: #1b3716;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}





.client-stat-card {
    display: flex;
    align-items: center;
    gap: 14px;

    min-height: 105px;
    padding: 19px;

    border: 1px solid #e8e0d2;
    border-radius: 12px;

    background: #fff;

    box-shadow: 0 5px 18px rgba(46,53,35,.035);
}

.client-stat-icon {
    display: grid;
    place-items: center;

    flex: 0 0 44px;

    width: 44px;
    height: 44px;

    border-radius: 11px;
    background: #f3ecdf;
    color: #1b3716;

    font-size: 17px;
}



.client-stat-card small {
    color: #858176;
    font-size: 11px;
}

.client-stat-card strong {
    color: #1b3716;
    font-size: 25px;
    line-height: 1.3;
}

.client-next-appointment {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-top: 17px;
    padding: 18px 20px;

    border: 1px solid #e1d5bf;
    border-radius: 12px;

    background: #ede4d4;
}

.next-icon {
    display: grid;
    place-items: center;

    flex: 0 0 43px;

    width: 43px;
    height: 43px;

    border-radius: 50%;
    background: #1b3716;
    color: #f3dcba;
}



.next-content h3 {
    margin: 0 0 3px;
    color: #1b3716;
    font-size: 14px;
}

.next-content p {
    margin: 0;
    color: #716b5e;
    font-size: 12px;
}

.client-next-appointment > a {
    color: #1b3716;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.client-panel {
    padding: 23px;

    border: 1px solid #e7dfd0;
    border-radius: 12px;

    background: #fff;

    box-shadow: 0 5px 18px rgba(46,53,35,.025);
}



.client-form label {
    display: flex;
    flex-direction: column;
    gap: 7px;

    color: #44503d;
    font-size: 12px;
    font-weight: 700;
}

.client-form input:not([type=hidden]),
.client-form select,
.client-form textarea {
    width: 100%;
    min-height: 43px;

    padding: 10px 12px;

    border: 1px solid #e2ddcf;
    border-radius: 7px;

    outline: none;

    background: #fffefa;
    color: #30392c;

    font-family: inherit;
    font-size: 12px;
}

.client-form input:focus,
.client-form select:focus,
.client-form textarea:focus {
    border-color: #718969;
    box-shadow: 0 0 0 3px rgba(27,55,22,.07);
}



.client-form input[type=file] {
    padding: 8px;
    background: #faf8f3;
}

.client-form small {
    color: #8b887f;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.8;
}



.client-form-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.client-form-actions > span {
    color: #898579;
    font-size: 10px;
}



.client-table-panel .client-panel-title {
    margin: 0;
    padding: 21px 22px 13px;
    color: #1b3716;
    font-size: 15px;
}





.client-table th,
.client-table td {
    padding: 14px 15px;
    border-bottom: 1px solid #eee9e0;

    text-align: right;
    font-size: 11px;
    vertical-align: middle;
}

.client-table th {
    background: #faf8f3;
    color: #77776d;
    font-weight: 700;
    white-space: nowrap;
}

.client-table td {
    color: #454b40;
}



.client-table tbody tr:hover {
    background: #fffdf8;
}

.client-row-note {
    display: block;
    max-width: 220px;
    margin-top: 4px;

    color: #928e82;
    font-size: 10px;
    overflow-wrap: anywhere;
}



.client-status.status-pending {
    background: #fff1d8;
    color: #95620c;
}

.client-status.status-confirmed {
    background: #e4f2e3;
    color: #27652b;
}

.client-status.status-rejected {
    background: #fbe6e4;
    color: #a3322b;
}

.client-status.status-completed {
    background: #e8e9f4;
    color: #454c83;
}

.client-status.status-cancelled {
    background: #eee;
    color: #555;
}

.client-table-link,
.client-download-link {
    color: #285323;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}



.client-empty {
    padding: 28px !important;
    color: #8c887e !important;
    text-align: center !important;
}

.client-document-notice {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-bottom: 17px;
    padding: 15px 18px;

    border: 1px solid #e5d9c4;
    border-radius: 10px;

    background: #f6f0e5;
    color: #5d5b50;
}

.client-document-notice > i {
    color: #1b3716;
    font-size: 23px;
}



.client-document-notice strong {
    color: #1b3716;
}

.client-panel-title {
    margin: 0 0 17px;
    color: #1b3716;
    font-size: 15px;
}

.client-empty-panel {
    text-align: center;
    padding: 35px;
}

.client-empty-panel > i {
    color: #a58c61;
    font-size: 32px;
}

.client-empty-panel h3 {
    color: #1b3716;
    font-size: 16px;
}

.client-empty-panel p {
    color: #888;
    font-size: 12px;
}



.client-file-icon {
    margin-left: 5px;
    color: #9b8359;
}



.client-footer {
    display: flex;
    justify-content: space-between;
    gap: 15px;

    padding: 18px 3px 5px;

    border-top: 1px solid #e4dccd;
    color: #777469;
    font-size: 11px;
}

.client-footer span {
    color: #999487;
}

@media (max-width: 1150px) {

    

}

@media (max-width: 760px) {

    

    

    

    

    

    

    

    

    

    .client-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    

    

    

    

    

    

    

    

    

    

    

    

}

@media (max-width: 400px) {

    

    

}


/* ==========================================
   22. تجاوب الصفحة الرئيسية مع الأجهزة
   ========================================== */

@media (max-width: 1100px) {

    .header-container {
        flex-wrap: wrap;
    }

    .main-nav {
        order: 3;
        width: 100%;
    }

    .main-nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }

    .agenda-home .home-about-layout {
        gap: 25px;
    }

    .agenda-home .home-services-grid,
    .agenda-home .home-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 900px) {

    .agenda-home .home-about .home-about-cards,
    .agenda-home .home-values-section .values-grid-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 768px) {

    .top-bar-container {
        justify-content: center;
        gap: 10px 18px;
        padding: 0 14px;
        font-size: 13px;
        flex-wrap: wrap;
    }

    .header-container {
        flex-direction: column;
        gap: 15px;
        padding: 0 14px;
    }

    .logo-title {
        font-size: 29px !important;
    }

    .logo-subtitle {
        font-size: 16px !important;
    }

    .logo-box .logo-icon {
        font-size: 26px;
    }

    .main-nav {
        order: 0;
        width: 100%;
    }

    .main-nav ul {
        justify-content: center;
        gap: 4px 8px;
    }

    .main-nav a {
        padding: 7px 7px 20px;
        font-size: 13px;
    }

    .header-action {
        width: 100%;
        text-align: center;
    }

    /* Hero */

    .hero-split-section {
        min-height: auto;
    }

    .hero-split-container {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
        gap: 30px;
    }

    .hero-text-col {
        text-align: center;
    }

    .hero-text-col h1 {
        font-size: 31px;
    }

    .hero-text-col p {
        font-size: 16px;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-image-col {
        width: 100%;
    }

    .logo-image-frame img {
        max-width: 260px;
    }

    /* About */

    .agenda-home .home-about-section {
        padding: 55px 0;
    }

    .agenda-home .home-about-heading h2 {
        font-size: 28px;
    }

    .agenda-home .home-about-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .agenda-home .home-about-image img {
        height: 270px;
    }

    .agenda-home .home-about-image-overlay {
        inset: auto 0 0;
        min-height: 65px;
        padding: 12px 16px;
        opacity: 1;
        visibility: visible;
        background-color: rgba(22, 45, 18, 0.82);
    }

    .agenda-home .home-about-image-overlay span {
        font-size: 15px;
        transform: none;
    }

    .agenda-home .home-about-content p {
        font-size: 16px;
    }

    .agenda-home .home-about .home-about-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .agenda-home .home-about .home-info-card {
        min-height: auto;
        padding: 22px 18px;
    }

    .agenda-home .home-about .home-info-card h3 {
        font-size: 23px;
    }

    .agenda-home .home-about .home-card-icon {
        width: 48px;
        height: 48px;
        font-size: 25px;
    }

    /* Services */

    .agenda-home .home-services-section {
        padding: 55px 0;
    }

    .agenda-home .home-services-section .home-section-heading h2 {
        font-size: 27px;
    }

    .agenda-home .home-services-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .agenda-home .home-service-content {
        padding: 23px 20px;
    }

    /* Values */

    .agenda-home .home-values-section {
        padding: 55px 0;
    }

    .agenda-home .home-values-section .section-title h2 {
        font-size: 27px;
    }

    .agenda-home .home-values-section .values-grid-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .agenda-home .home-values-section .value-item-card {
        min-height: auto;
        padding: 22px 18px;
    }

    /* Appointment Process */

    .agenda-home .home-process-section {
        padding: 55px 0;
    }

    .agenda-home .home-process-section .home-section-heading h2 {
        font-size: 27px;
    }

    .agenda-home .home-process-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Contact */

    .contact-cta-section {
        padding: 55px 15px;
    }

    .contact-cta-section .section-title h2 {
        font-size: 27px;
    }

    .contact-info-row {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-info-row > div {
        justify-content: center;
    }

    .contact-btn-box {
        flex-direction: column;
    }

    .contact-btn-box .btn {
        width: 100%;
    }

    /* Footer */

    .footer-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }

}

@media (max-width: 576px) {

    .footer-grid-4 {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-executive {
        padding-top: 45px;
    }

}

@media (max-width: 400px) {

    .top-bar-container {
        flex-direction: column;
        align-items: center;
    }

    .logo-title {
        font-size: 25px !important;
    }

    .main-nav ul {
        gap: 3px;
    }

    .main-nav a {
        font-size: 12px;
        padding-left: 5px;
        padding-right: 5px;
    }

    .hero-text-col h1 {
        font-size: 26px;
    }

    .hero-btns .btn {
        width: 100%;
    }

}


/* ==========================================
   23. تقليل الحركة وإمكانية الوصول
   ========================================== */

@media (prefers-reduced-motion: reduce) {

    .main-nav a,
    .main-nav a::after,
    .main-nav a .nav-icon,
    .whatsapp-btn,
    .btn,
    .agenda-home .home-info-card,
    .agenda-home .home-card-icon,
    .agenda-home .home-service-card,
    .agenda-home .home-service-icon,
    .agenda-home .home-service-link,
    .agenda-home .value-item-card,
    .agenda-home .home-process-card,
    .agenda-home .home-process-icon,
    .agenda-home .home-process-number,
    .agenda-home .home-about-link,
    .agenda-home .home-about-image img,
    .agenda-home .home-about-image-overlay,
    .agenda-home .home-about-image-overlay span,
    .logo-image-frame,
    .logo-image-frame img {
        animation: none !important;
        transition: none !important;
    }

    .hero-text-col .hero-badge,
    .hero-text-col h1,
    .hero-text-col p,
    .logo-image-frame img {
        opacity: 1;
        transform: none;
    }

    .logo-image-frame,
    .agenda-home .home-info-card,
    .agenda-home .home-card-icon {
        transform: none;
        filter: none;
    }

    .agenda-home .home-about .about-reveal,
    .agenda-home .home-values-section .values-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .agenda-home .home-about-image-overlay {
        opacity: 1;
        visibility: visible;
    }

}


/* ==========================================
   24. صفحة تسجيل الدخول
   ========================================== */

.auth-page-body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: inherit;
    direction: rtl;
    background-color: rgb(210, 204, 175);
}

.auth-split-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.auth-brand-panel {
    flex: 1;
    position: relative;

    background:
        linear-gradient(
            rgba(22, 45, 18, 0.65),
            rgba(22, 45, 18, 0.85)
        ),
        url("/img/hero-bg.jpg") center/cover no-repeat;

    background-color: rgb(22, 45, 18);
    color: #fff;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 50px;
    box-sizing: border-box;
    text-align: center;
}

.brand-content-wrapper {
    max-width: 480px;
}

.brand-logo-box {
    margin-bottom: 25px;
}

.brand-scale-icon {
    font-size: 75px;
    color: rgb(210, 204, 175);
    margin-bottom: 10px;
    display: block;
}

.brand-name {
    font-size: 50px;
    font-weight: 900;
    color: rgb(210, 204, 175);
    margin: 0;
}

.brand-tagline {
    font-size: 20px;
    color: rgba(210, 204, 175, 0.50);
    margin-top: 5px;
}

.brand-info-box h2 {
    border-top: 3px solid rgba(210, 204, 175, 0.2);
    font-size: 35px;
    font-weight: 700;
    color: rgb(255, 255, 255);
    margin-bottom: 15px;
}

.brand-info-box p {
    font-size: 20px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
}

.brand-features {
    display: flex;
    justify-content: center;
    gap: 25px;
    padding-top: 25px;
}

.feature-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.feature-badge i {
    font-size: 20px;
    color: rgb(210, 204, 175);
    background: rgba(210, 204, 175, 0.1);
    padding: 10px;
    border-radius: 50%;
}

.feature-badge span {
    font-weight: 700;
    font-size: 20px;
    color: rgb(210, 204, 175);
}

.feature-badge small {
    font-size: 15px;
    color: rgba(210, 204, 175, 0.5);
}

/* قسم النموذج */

.auth-form-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    box-sizing: border-box;
    background-color: rgb(210, 204, 175);
}

.auth-card-container {
    width: 100%;
    max-width: 420px;
}

.auth-header-text {
    margin-bottom: 18px;
}

.auth-header-text h2 {
    color: rgb(22, 45, 18);
    font-size: 27px;
    font-weight: 800;
    margin: 0 0 5px;
}

.auth-header-text p {
    color: rgb(68, 68, 68);
    font-size: 15px;
    margin: 0;
}

.auth-card {
    background: rgb(255, 255, 255);
    padding: 30px 25px;
    border-radius: 14px;
    border: 1px solid rgba(22, 45, 18, 0.08);
    box-shadow: 0 10px 30px rgba(22, 45, 18, 0.08);
}

.auth-card .form-group {
    margin-bottom: 16px;
}

.auth-card label {
    display: block;
    margin-bottom: 6px;
    color: rgb(22, 45, 18);
    font-weight: 700;
    font-size: 13px;
}

.input-with-icon {
    position: relative;
}

.input-with-icon input {
    width: 100%;
    padding: 12px 14px 12px 40px;
    box-sizing: border-box;

    border: 1px solid rgb(220, 220, 213);
    border-radius: 8px;

    background-color: rgb(210, 204, 175);
    color: rgb(68, 68, 68);

    font-size: 14px;
    outline: none;

    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.input-with-icon input:focus {
    border-color: rgb(22, 45, 18);
    background-color: rgb(210, 204, 175);
    box-shadow: 0 0 0 3px rgba(22, 45, 18, 0.08);
}

.input-with-icon i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgb(68, 68, 68);
    font-size: 14px;
}

.forgot-password-link {
    text-align: left;
    margin-bottom: 18px;
}

.forgot-password-link a {
    font-size: 12px;
    color: rgb(22, 45, 18);
    text-decoration: none;
    font-weight: 600;
}

.forgot-password-link a:hover {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    padding: 12px;

    background-color: rgb(22, 45, 18);
    color: rgb(210, 204, 175);

    border: none;
    border-radius: 8px;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: rgb(22, 45, 18);
}

.secondary-btn {
    width: 100%;
    padding: 12px;

    background-color: transparent;
    color: rgb(22, 45, 18);

    border: 1px solid rgb(22, 45, 18);
    border-radius: 8px;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;
    transition: background-color 0.3s ease;
}

.secondary-btn:hover {
    background-color: rgba(22, 45, 18, 0.05);
}

.auth-divider {
    text-align: center;
    position: relative;
    margin: 14px 0;
}

.auth-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgb(210, 204, 175);
}

.auth-divider span {
    position: relative;
    background: rgb(255, 255, 255);
    padding: 0 10px;
    color: rgb(68, 68, 68);
    font-size: 12px;
}

.back-home {
    text-align: center;
    margin-top: 18px;
    font-size: 13px;
}

.back-home a {
    color: rgb(22, 45, 18);
    font-weight: 600;
    text-decoration: none;
}

.back-home a:hover {
    text-decoration: underline;
}

.alert {
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 14px;
    text-align: center;
    font-size: 13px;
}

.alert-error {
    background-color: rgb(255, 255, 255);
    color: rgb(132, 32, 41);
    border: 1px solid rgb(210, 204, 175);
}

.alert-success {
    background-color: rgb(210, 204, 175);
    color: rgb(22, 45, 18);
    border: 1px solid rgb(210, 204, 175);
}

/* توافق صفحة الدخول مع الهاتف */

@media (max-width: 992px) {

    .auth-split-container {
        flex-direction: column;
    }

    .auth-brand-panel {
        padding: 40px 20px;
    }

    .auth-brand-panel .brand-info-box p,
    .auth-brand-panel .brand-features {
        display: none;
    }

}


/* ==========================================
   25. قسم حجز الموعد ومعلومات التواصل
   ========================================== */

.booking-container,
.contact-info-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
}

.booking-section {
    background-color: rgb(210, 204, 175);
    padding: 60px 20px;
}

.booking-container {
    max-width: 1200px;
    margin: 0 auto;
}

.booking-header {
    text-align: center;
    margin-bottom: 40px;
}

.booking-header .booking-badge {
    color: rgb(22, 45, 18);
    background-color: rgb(210, 204, 175);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: bold;
    display: inline-block;
}

.booking-header h2 {
    font-size: 35px;
    color: rgb(22, 45, 18);
    font-weight: bold;
    margin-top: 10px;
}

.booking-header p {
    color: rgb(22, 45, 18);
    font-size: 15px;
    margin-top: 5px;
}

/* شبكة الحجز */

.booking-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    align-items: start;
}

/* كروت الحجز ومعلومات التواصل */

.booking-form-card,
.info-card {
    background-color: rgb(255, 255, 255);
    padding: 35px;
    border-radius: 16px;
    border: 1px solid rgb(229, 231, 235);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);

    text-align: right;
    direction: rtl;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.booking-form-card:hover,
.info-card:hover {
    transform: translateY(-6px);
    border-color: rgb(22, 45, 18);
}

/* نموذج الحجز */

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: bold;
    color: rgb(22, 45, 18);
    margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;

    border: 1px solid rgb(221, 221, 221);
    border-radius: 8px;

    font-size: 13px;
    background-color: rgb(210, 204, 175);

    outline: none;
    box-sizing: border-box;

    color: rgb(51, 51, 51);
    font-family: inherit;

    transition: all 0.3s ease;
}

.form-group select {
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgb(22, 45, 18);
    background-color: rgb(210, 204, 175);
    box-shadow: 0 0 0 3px rgba(22, 45, 18, 0.12);
}

.form-group textarea {
    resize: none;
}

/* زر إرسال الحجز */

.submit-btn {
    background-color: rgb(210, 204, 175);
    color: rgb(22, 45, 18);

    padding: 14px;
    border: none;
    border-radius: 8px;

    font-weight: bold;
    font-size: 15px;

    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;

    margin-top: 5px;
}

.submit-btn:hover {
    background-color: rgb(22, 45, 18);
    color: rgb(210, 204, 175);
}

/* معلومات التواصل */

.booking-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;

    display: flex;
    flex-direction: column;
    gap: 18px;

    font-size: 14px;
}

.contact-info-list li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-icon {
    width: 40px;
    height: 40px;

    background-color: rgb(210, 204, 175);
    color: rgb(22, 45, 18);

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 16px;
    flex-shrink: 0;
}

.info-label {
    display: block;
    color: rgb(136, 136, 136);
    font-size: 12px;
}

.contact-info-list a,
.info-value {
    color: rgb(22, 45, 18);
    font-weight: bold;
    text-decoration: none;
}

/* ساعات العمل */

.working-hours-card {
    background-color: rgb(22, 45, 18);
    color: rgb(210, 204, 175);
    padding: 25px;
    border-radius: 16px;
    text-align: center;
}

.working-hours-card h4 {
    color: rgb(210, 204, 175);
    margin-bottom: 8px;
    font-size: 19px;
}

.working-hours-card p {
    color: rgb(210, 204, 175);
    font-size: 16px;
    margin: 0;
    line-height: 1.6;
}


/* ==========================================
   26. صفحة الخدمات القانونية
   ========================================== */

.legal-services-page {
    direction: rtl;
    background: rgb(210, 204, 175);
}

.services-hero {
    background-color: rgb(22, 45, 18);
}

.services-hero .hero-text-col h1 span {
    color: rgb(210, 204, 175);
}

.services-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* عنوان الخدمات */

.legal-services-section {
    padding: 85px 20px;
    background: rgb(210, 204, 175);
}

.legal-services-heading {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 50px;
}

.services-section-badge {
    display: inline-block;
    background: rgb(210, 204, 175);
    color: rgb(22, 45, 18);
    padding: 9px 20px;
    border-radius: 25px;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.legal-services-heading h2 {
    color: rgb(22, 45, 18);
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
}

.legal-services-heading p {
    color: rgb(22, 45, 18);
    font-size: 20px;
    line-height: 1.9;
}

/* شبكة البطاقات */

.legal-services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.legal-service-card {
    background: rgb(255, 255, 255);
    border: 1px solid rgb(22, 45, 18);
    border-radius: 12px;
    padding: 28px 25px;
    text-align: right;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.legal-service-card:hover {
    background: rgb(22, 45, 18);
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(22, 45, 18, 0.18);
}

/* أيقونة البطاقة */

.legal-service-icon {
    width: 58px;
    height: 58px;

    border-radius: 14px;
    background: rgb(22, 45, 18);
    color: rgb(210, 204, 175);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 30px;
    margin-bottom: 20px;

    transition: all 0.35s ease;
}

.legal-service-card:hover .legal-service-icon {
    background: rgb(210, 204, 175);
    color: rgb(22, 45, 18);
}

/* العناوين */

.legal-service-card h3 {
    color: rgb(22, 45, 18);
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 7px;
    transition: color 0.3s ease;
}

.service-en-title {
    display: block;
    color: rgb(22, 45, 18);
    font-size: 15px;
    font-weight: bold;
    direction: ltr;
    text-align: right;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.legal-service-card:hover h3,
.legal-service-card:hover .service-en-title {
    color: rgb(210, 204, 175);
}

/* قائمة الخدمات */

.legal-service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-service-card ul li {
    position: relative;
    padding-right: 23px;
    margin-bottom: 13px;
    color: rgb(65, 65, 55);
    font-size: 20px;
    line-height: 1.9;
    transition: color 0.3s ease;
}

.legal-service-card ul li::before {
    content: "";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;

    position: absolute;
    right: 0;
    top: 3px;

    color: rgb(22, 45, 18);
    font-size: 15px;
}

.legal-service-card:hover ul li {
    color: rgb(210, 204, 175);
}

.legal-service-card:hover ul li::before {
    color: rgb(210, 204, 175);
}

/* ==========================================
   ADDITIONAL RESPONSIVE STYLES - SERVICES PAGE
   ========================================== */

@media (max-width: 768px) {

    /* Services section spacing */
    .legal-services-page .legal-services-section {
        padding: 55px 15px;
    }

    /* Section heading */
    .legal-services-page .legal-services-heading {
        margin-bottom: 35px;
    }

    .legal-services-page .legal-services-heading h2 {
        font-size: 28px;
        line-height: 1.5;
    }

    .legal-services-page .legal-services-heading p {
        font-size: 16px;
        line-height: 1.9;
    }

    /* Services cards */
    .legal-services-page .legal-services-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .legal-services-page .legal-service-card {
        padding: 24px 20px;
    }

    .legal-services-page .legal-service-card h3 {
        font-size: 23px;
        line-height: 1.5;
    }

    .legal-services-page .service-en-title {
        font-size: 14px;
    }

    .legal-services-page .legal-service-card ul li {
        font-size: 16px;
        line-height: 1.85;
        margin-bottom: 11px;
    }

}


/* ==========================================
   ACCESSIBILITY - REDUCED MOTION
   ========================================== */

@media (prefers-reduced-motion: reduce) {

    .legal-services-page .legal-service-card,
    .legal-services-page .legal-service-icon {
        transition: none !important;
        transform: none !important;
    }

}


/* ==========================================
   27. BLOG PAGE
   Complete replacement for section 27 only.
   Brand colors: Green #162D12, Beige #D2CCAF, White
   ========================================== */

/* Blog page base */
.blog-page {
    min-height: 100vh;
    background-color: rgb(255, 255, 255);
}

.blog-page .container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

/* ==========================================
   27.1. HERO SECTION
   Uses the shared hero styles from style.css.
   ========================================== */

/* ==========================================
   27.2. SECTION BACKGROUNDS AND HEADINGS
   ========================================== */

.agenda-home.blog-page .blog-categories-section {
    padding: 85px 0;
    background-color: rgb(255, 255, 255);
}

.agenda-home.blog-page .blog-posts-section {
    padding: 85px 0;
    background-color: rgb(210, 204, 175);
}

.agenda-home.blog-page .blog-section-heading {
    width: 100%;
    max-width: 850px;
    margin: 0 auto 45px;
    text-align: center;
}

.agenda-home.blog-page .blog-section-heading h2 {
    color: rgb(22, 45, 18);
    font-size: 35px;
    line-height: 1.5;
    margin: 0 0 15px;
}

.agenda-home.blog-page .blog-section-heading p {
    color: rgb(22, 45, 18);
    font-size: 17px;
    line-height: 1.9;
    margin: 0;
}

.agenda-home.blog-page .blog-categories-section .home-section-label {
    background-color: rgb(210, 204, 175);
    color: rgb(22, 45, 18);
    border-color: rgb(22, 45, 18);
}

.agenda-home.blog-page .blog-posts-section .home-section-label {
    background-color: rgb(22, 45, 18);
    color: rgb(210, 204, 175);
    border-color: rgb(22, 45, 18);
}

/* ==========================================
   27.3. CATEGORY CARDS
   Beige cards on white background.
   Same green hover as homepage cards.
   ========================================== */

.agenda-home.blog-page .blog-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.agenda-home.blog-page .blog-category-card {
    min-width: 0;
    box-sizing: border-box;
    padding: 25px 22px;

    background-color: rgb(210, 204, 175);
    color: rgb(22, 45, 18);
    border: 1px solid rgb(22, 45, 18);
    border-radius: 12px;
    text-align: right;

    transition:
        background-color 0.4s ease,
        color 0.4s ease,
        border-color 0.4s ease,
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.agenda-home.blog-page .blog-category-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;
    background-color: rgb(22, 45, 18);
    color: rgb(210, 204, 175);

    transition:
        background-color 0.4s ease,
        color 0.4s ease,
        transform 0.4s ease;
}

.agenda-home.blog-page .blog-category-icon i {
    margin: 0;
    padding: 0;
    color: inherit;
    background: transparent;
    font-size: 26px;
}

.agenda-home.blog-page .blog-category-card h3 {
    margin: 0 0 10px;
    color: rgb(22, 45, 18);
    font-size: 21px;
    line-height: 1.6;
    transition: color 0.4s ease;
}

.agenda-home.blog-page .blog-category-card p {
    margin: 0;
    color: rgb(22, 45, 18);
    font-size: 16px;
    line-height: 1.9;
    transition: color 0.4s ease;
}

.agenda-home.blog-page .blog-category-card:hover,
.agenda-home.blog-page .blog-category-card:focus-within {
    background-color: rgb(22, 45, 18);
    border-color: rgb(210, 204, 175);
    color: rgb(210, 204, 175);
    transform: translateY(-5px);
    box-shadow: 0 8px 22px rgba(22, 45, 18, 0.18);
}

.agenda-home.blog-page .blog-category-card:hover h3,
.agenda-home.blog-page .blog-category-card:hover p,
.agenda-home.blog-page .blog-category-card:focus-within h3,
.agenda-home.blog-page .blog-category-card:focus-within p {
    color: rgb(210, 204, 175);
}

.agenda-home.blog-page .blog-category-card:hover .blog-category-icon,
.agenda-home.blog-page .blog-category-card:focus-within .blog-category-icon {
    background-color: rgb(210, 204, 175);
    color: rgb(22, 45, 18);
    transform: translateY(-3px);
}

/* ==========================================
   27.4. LATEST POSTS LAYOUT
   Main article grid + sidebar widgets.
   ========================================== */

.agenda-home.blog-page .blog-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: start;
}

.agenda-home.blog-page .blog-posts-main {
    min-width: 0;
}

.agenda-home.blog-page .blog-post-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.agenda-home.blog-page .blog-post-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: hidden;

    background-color: rgb(255, 255, 255);
    color: rgb(22, 45, 18);
    border: 1px solid rgb(22, 45, 18);
    border-radius: 12px;

    transition:
        border-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.agenda-home.blog-page .blog-post-card > img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
    object-position: center;
}

.agenda-home.blog-page .blog-post-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 20px;
}

.agenda-home.blog-page .blog-post-category-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 13px;
    padding: 6px 12px;

    border-radius: 20px;
    background-color: rgb(210, 204, 175);
    color: rgb(22, 45, 18);
    font-size: 12px;
    font-weight: 700;
}

.agenda-home.blog-page .blog-post-body h3 {
    margin: 0 0 11px;
    color: rgb(22, 45, 18);
    font-size: 20px;
    line-height: 1.6;
}

.agenda-home.blog-page .blog-post-body p {
    flex: 1;
    margin: 0 0 18px;
    color: rgb(22, 45, 18);
    font-size: 15px;
    line-height: 1.9;
}

.agenda-home.blog-page .blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;

    color: rgb(22, 45, 18);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;

    transition: gap 0.25s ease, opacity 0.25s ease;
}

.agenda-home.blog-page .blog-read-more:hover,
.agenda-home.blog-page .blog-read-more:focus-visible {
    gap: 14px;
    opacity: 0.82;
}

.agenda-home.blog-page .blog-post-card:hover,
.agenda-home.blog-page .blog-post-card:focus-within {
    background-color: rgb(255, 255, 255);
    border-color: rgb(22, 45, 18);
    transform: translateY(-4px);
    box-shadow: 0 7px 18px rgba(22, 45, 18, 0.10);
}

/* ==========================================
   27.5. BLOG SIDEBAR WIDGETS
   ========================================== */

.agenda-home.blog-page .blog-sidebar {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.agenda-home.blog-page .blog-sidebar-box {
    padding: 22px 20px;
    background-color: rgb(255, 255, 255);
    border: 1px solid rgba(22, 45, 18, 0.22);
    border-radius: 12px;
    box-shadow: 0 5px 16px rgba(22, 45, 18, 0.06);
}

.agenda-home.blog-page .blog-sidebar-title {
    display: flex;
    align-items: center;
    gap: 10px;

    margin: 0 0 18px;
    padding-bottom: 13px;

    color: rgb(22, 45, 18);
    border-bottom: 1px solid rgb(210, 204, 175);
    font-size: 18px;
    line-height: 1.5;
}

.agenda-home.blog-page .blog-sidebar-title i {
    color: rgb(22, 45, 18);
    font-size: 16px;
}

/* Search form */
.agenda-home.blog-page .blog-search-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.agenda-home.blog-page .blog-search-form input[type="search"] {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    box-sizing: border-box;

    padding: 10px 13px;
    border: 1px solid rgba(22, 45, 18, 0.28);
    border-radius: 7px;

    background-color: rgb(255, 255, 255);
    color: rgb(22, 45, 18);
    font: inherit;
    font-size: 13px;
    outline: none;
}

.agenda-home.blog-page .blog-search-form input[type="search"]:focus {
    border-color: rgb(22, 45, 18);
    box-shadow: 0 0 0 3px rgba(22, 45, 18, 0.09);
}

.agenda-home.blog-page .blog-search-form button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 9px 15px;
    border: 1px solid rgb(22, 45, 18);
    border-radius: 7px;

    background-color: rgb(22, 45, 18);
    color: rgb(210, 204, 175);
    font: inherit;
    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.agenda-home.blog-page .blog-search-form button:hover {
    background-color: rgb(210, 204, 175);
    color: rgb(22, 45, 18);
}

/* Categories sidebar list */
.agenda-home.blog-page .blog-sidebar-list,
.agenda-home.blog-page .blog-recent-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.agenda-home.blog-page .blog-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.agenda-home.blog-page .blog-sidebar-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    padding: 9px 10px;
    border-radius: 6px;

    color: rgb(22, 45, 18);
    text-decoration: none;
    font-size: 13px;

    transition: background-color 0.25s ease, color 0.25s ease;
}

.agenda-home.blog-page .blog-sidebar-list li a:hover,
.agenda-home.blog-page .blog-sidebar-list li a.is-selected {
    background-color: rgb(210, 204, 175);
    color: rgb(22, 45, 18);
}

.agenda-home.blog-page .blog-sidebar-list li a small {
    min-width: 24px;
    padding: 2px 6px;
    border-radius: 12px;
    background-color: rgb(210, 204, 175);
    color: rgb(22, 45, 18);
    text-align: center;
    font-size: 11px;
}

/* Recent posts sidebar list */
.agenda-home.blog-page .blog-recent-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.agenda-home.blog-page .blog-recent-list li {
    padding: 11px 0;
    border-bottom: 1px solid rgba(22, 45, 18, 0.12);
}

.agenda-home.blog-page .blog-recent-list li:first-child {
    padding-top: 0;
}

.agenda-home.blog-page .blog-recent-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.agenda-home.blog-page .blog-recent-list a {
    display: block;
    color: rgb(22, 45, 18);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.8;
    text-decoration: none;
    transition: opacity 0.25s ease;
}

.agenda-home.blog-page .blog-recent-list a:hover,
.agenda-home.blog-page .blog-recent-list a:focus-visible {
    opacity: 0.7;
}

.agenda-home.blog-page .blog-recent-list li span {
    display: block;
    margin-top: 4px;
    color: rgba(22, 45, 18, 0.65);
    font-size: 11px;
}

.agenda-home.blog-page .blog-sidebar-empty {
    margin: 0;
    color: rgb(22, 45, 18);
    font-size: 13px;
    line-height: 1.8;
}

/* Filter summary */
.agenda-home.blog-page .blog-filter-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;

    margin-bottom: 18px;
    padding: 12px 15px;

    border: 1px solid rgba(22, 45, 18, 0.2);
    border-radius: 8px;
    background-color: rgb(255, 255, 255);
    color: rgb(22, 45, 18);
    font-size: 13px;
}

.agenda-home.blog-page .blog-filter-summary a {
    color: rgb(22, 45, 18);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.agenda-home.blog-page .blog-results-count {
    font-weight: 700;
}

/* ==========================================
   27.6. EMPTY STATES
   ========================================== */

.agenda-home.blog-page .blog-empty-state {
    grid-column: 1 / -1;
    width: 100%;
    box-sizing: border-box;
    padding: 35px 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;

    color: rgb(22, 45, 18);
    text-align: center;
}

.agenda-home.blog-page .blog-empty-state > i {
    font-size: 35px;
}

.agenda-home.blog-page .blog-empty-state h3,
.agenda-home.blog-page .blog-empty-state p {
    margin: 0;
    color: rgb(22, 45, 18);
}

.agenda-home.blog-page .blog-empty-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
    padding: 9px 15px;
    border-radius: 7px;
    background-color: rgb(22, 45, 18);
    color: rgb(210, 204, 175);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

/* Visually hidden form label */
.agenda-home.blog-page .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================
   27.7. CONTACT SECTION
   ========================================== */

.agenda-home.blog-page .contact-cta-section {
    background-color: rgb(255, 255, 255);
}

.agenda-home.blog-page .contact-info-row > div {
    background-color: rgb(210, 204, 175);
    color: rgb(22, 45, 18);
    border-color: rgb(22, 45, 18);
}

.agenda-home.blog-page .contact-info-row > div i,
.agenda-home.blog-page .contact-info-row > div a {
    color: rgb(22, 45, 18);
}

.agenda-home.blog-page .contact-info-row > div:hover,
.agenda-home.blog-page .contact-info-row > div:focus-within {
    background-color: rgb(22, 45, 18);
    border-color: rgb(22, 45, 18);
    color: rgb(210, 204, 175);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(22, 45, 18, 0.15);
}

.agenda-home.blog-page .contact-info-row > div:hover i,
.agenda-home.blog-page .contact-info-row > div:hover a,
.agenda-home.blog-page .contact-info-row > div:focus-within i,
.agenda-home.blog-page .contact-info-row > div:focus-within a {
    color: rgb(210, 204, 175);
}

.agenda-home.blog-page .contact-btn-box .btn-primary,
.agenda-home.blog-page .contact-btn-box .home-contact-whatsapp {
    background-color: rgb(22, 45, 18);
    color: rgb(210, 204, 175);
    border: 1px solid rgb(22, 45, 18);
}

.agenda-home.blog-page .contact-btn-box .btn-primary:hover,
.agenda-home.blog-page .contact-btn-box .home-contact-whatsapp:hover {
    background-color: rgb(210, 204, 175);
    color: rgb(22, 45, 18);
    transform: translateY(-3px);
}

/* ==========================================
   27.8. RESPONSIVE LAYOUT
   ========================================== */

@media (max-width: 1100px) {
    .agenda-home.blog-page .blog-content-layout {
        grid-template-columns: minmax(0, 1fr) 270px;
        gap: 20px;
    }

    .agenda-home.blog-page .blog-post-grid {
        gap: 16px;
    }
}

@media (max-width: 900px) {
    .agenda-home.blog-page .blog-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .agenda-home.blog-page .blog-content-layout {
        grid-template-columns: 1fr;
    }

    .agenda-home.blog-page .blog-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .agenda-home.blog-page .blog-recent-posts {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .agenda-home.blog-page .blog-categories-section,
    .agenda-home.blog-page .blog-posts-section {
        padding: 55px 0;
    }

    .agenda-home.blog-page .blog-section-heading {
        margin-bottom: 32px;
    }

    .agenda-home.blog-page .blog-section-heading h2 {
        font-size: 27px;
    }

    .agenda-home.blog-page .blog-section-heading p {
        font-size: 16px;
    }

    .agenda-home.blog-page .blog-category-grid,
    .agenda-home.blog-page .blog-post-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .agenda-home.blog-page .blog-category-card {
        padding: 22px 18px;
    }

    .agenda-home.blog-page .blog-post-body {
        padding: 22px 18px;
    }

    .agenda-home.blog-page .blog-post-body h3 {
        font-size: 19px;
    }

    .agenda-home.blog-page .blog-post-body p {
        font-size: 15px;
    }

    .agenda-home.blog-page .blog-sidebar {
        grid-template-columns: 1fr;
    }

    .agenda-home.blog-page .blog-recent-posts {
        grid-column: auto;
    }
}

/* ==========================================
   27.9. REDUCED MOTION
   ========================================== */

@media (prefers-reduced-motion: reduce) {
    .agenda-home.blog-page .blog-category-card,
    .agenda-home.blog-page .blog-category-icon,
    .agenda-home.blog-page .blog-post-card,
    .agenda-home.blog-page .blog-read-more,
    .agenda-home.blog-page .blog-sidebar-list li a,
    .agenda-home.blog-page .blog-recent-list a,
    .agenda-home.blog-page .blog-search-form button,
    .agenda-home.blog-page .contact-btn-box .btn {
        transition: none !important;
    }

    .agenda-home.blog-page .blog-category-card:hover,
    .agenda-home.blog-page .blog-category-card:focus-within,
    .agenda-home.blog-page .blog-post-card:hover,
    .agenda-home.blog-page .blog-post-card:focus-within,
    .agenda-home.blog-page .blog-category-card:hover .blog-category-icon {
        transform: none !important;
    }
}


/* ==========================================
   28. تفاصيل المقالات
   ========================================== */

.agenda-home.blog-page .article-page-section {
    background-color: rgb(210, 204, 175);
    padding: 65px 20px 80px;
    min-height: 80vh;
}

.agenda-home.blog-page .article-container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 45px 55px;

    background-color: rgb(255, 255, 255);
    border: 1px solid rgba(22, 45, 18, 0.2);
    border-radius: 14px;

    box-shadow: 0 8px 28px rgba(22, 45, 18, 0.10);
}

.agenda-home.blog-page .article-back {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: rgb(22, 45, 18);
    text-decoration: none;

    font-size: 16px;
    font-weight: 600;
    margin-bottom: 30px;

    transition: color 0.3s ease, transform 0.3s ease;
}

.agenda-home.blog-page .article-back:hover {
    color: rgb(22, 45, 18);
    transform: translateX(4px);
}

.agenda-home.blog-page .blog-post-category {
    display: table;

    background-color: rgb(210, 204, 175);
    color: rgb(22, 45, 18);

    padding: 9px 18px;
    border-radius: 6px;

    font-size: 15px;
    font-weight: 600;
    margin-bottom: 22px;
}

.agenda-home.blog-page .blog-post-category i {
    margin-left: 7px;
}

.agenda-home.blog-page .article-container > h1 {
    color: rgb(22, 45, 18);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.7;

    margin: 0 0 18px;
    padding-bottom: 20px;

    border-bottom: 2px solid rgb(210, 204, 175);
}

.agenda-home.blog-page .article-date {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #777;
    font-size: 15px;

    margin: 20px 0 28px;
}

.agenda-home.blog-page .article-date i {
    color: rgb(22, 45, 18);
}

.agenda-home.blog-page .article-cover {
    display: block;
    width: 100%;
    max-height: 480px;

    object-fit: cover;
    border-radius: 10px;

    margin: 25px auto 30px;
    border: 1px solid rgba(22, 45, 18, 0.15);
}

.agenda-home.blog-page .article-summary {
    background-color: rgb(210, 204, 175);
    border-right: 5px solid rgb(22, 45, 18);
    border-radius: 7px;

    padding: 22px 25px;

    color: rgb(45, 45, 45);
    font-size: 18px;
    font-weight: 600;
    line-height: 2;

    margin: 25px 0 35px;
}

.agenda-home.blog-page .article-content {
    color: #333;
    font-size: 18px;
    line-height: 2.2;
    text-align: justify;
    white-space: normal;
    overflow-wrap: break-word;
}

.agenda-home.blog-page .article-content p {
    margin-bottom: 20px;
}

.agenda-home.blog-page .article-bottom-link {
    text-align: center;
    margin-top: 45px;
    padding-top: 30px;
    border-top: 1px solid rgb(210, 204, 175);
}

.agenda-home.blog-page .article-bottom-link .btn {
    display: inline-block;

    background-color: rgb(22, 45, 18);
    color: rgb(210, 204, 175);

    padding: 14px 32px;
    border: 1px solid rgb(22, 45, 18);
    border-radius: 7px;

    font-size: 17px;
    font-weight: 600;
    text-decoration: none;

    transition: all 0.3s ease;
}

.agenda-home.blog-page .article-bottom-link .btn:hover {
    background-color: rgb(22, 45, 18);
    border-color: rgb(22, 45, 18);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(22, 45, 18, 0.18);
}

/* تجاوب المقالات */

@media (max-width: 768px) {

    .agenda-home.blog-page .article-page-section {
        padding: 35px 12px 50px;
    }

    .agenda-home.blog-page .article-container {
        padding: 25px 20px;
    }

    .agenda-home.blog-page .article-container > h1 {
        font-size: 26px;
    }

    .agenda-home.blog-page .article-summary {
        font-size: 16px;
        padding: 18px;
    }

    .agenda-home.blog-page .article-content {
        font-size: 16px;
        line-height: 2;
        text-align: right;
    }

    .agenda-home.blog-page .article-cover {
        max-height: 300px;
    }

    .agenda-home.blog-page .article-bottom-link .btn {
        width: 100%;
        padding: 13px 15px;
    }

}

@media (max-width: 480px) {

    .agenda-home.blog-page .article-container {
        padding: 20px 15px;
    }

    .agenda-home.blog-page .article-container > h1 {
        font-size: 22px;
    }

    .agenda-home.blog-page .article-back {
        font-size: 14px;
    }

}

@media (prefers-reduced-motion: reduce) {

    .agenda-home.blog-page .article-back,
    .agenda-home.blog-page .article-bottom-link .btn {
        transition: none;
        transform: none;
    }

}


/* ==========================================
   29. إعدادات عامة للصفحات
   ========================================== */

body {
    background-color: rgb(210, 204, 175);
}

html {
    scroll-behavior: smooth;
}


/* ==========================================
   30. لوحة الإدارة (Admin Dashboard)
   ========================================== */

.admin-body {
    margin: 0;
    background: #f3ecdf;
    color: #263322;
    font-family: Arial, Tahoma, sans-serif;
}

.admin-body * {
    box-sizing: border-box;
}

.admin-layout {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */

.admin-body .sidebar {
    width: 255px;
    background: #1b3716;
    color: #f3dcba;

    padding: 30px 18px;

    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;

    overflow-y: auto;
    z-index: 20;
}

.admin-body .brand {
    text-align: center;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(243,220,186,.2);
    margin-bottom: 30px;
}

.admin-body .brand i {
    display: inline-block;
    font-size: 32px;
    margin-bottom: 12px;
}

.admin-body .brand h2 {
    font-size: 21px;
    margin: 0 0 7px;
    color: #f3dcba;
}

.admin-body .brand p {
    font-size: 12px;
    opacity: .75;
    margin: 0;
    color: #f3dcba;
}

.admin-body .sidebar-title {
    font-size: 11px;
    opacity: .65;
    margin: 20px 12px 12px;
}

.admin-body .sidebar a {
    display: flex;
    align-items: center;
    gap: 13px;

    color: #f3dcba;
    text-decoration: none;

    padding: 13px 14px;
    border-radius: 8px;
    margin-bottom: 7px;

    font-size: 14px;
    transition: .2s;
}

.admin-body .sidebar a:hover,
.admin-body .sidebar a.active {
    background: #f3dcba;
    color: #1b3716;
}

.admin-body .sidebar a i {
    width: 19px;
    text-align: center;
}

/* Main area and header */

.admin-body .main-content {
    width: calc(100% - 255px);
    margin-right: 255px;
    padding: 32px;
    min-width: 0;
}

.admin-body .topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.admin-body .topbar h1 {
    font-size: 26px;
    color: #1b3716;
    margin: 0 0 8px;
}

.admin-body .topbar p {
    color: #777;
    font-size: 13px;
    margin: 0;
}

.admin-body .admin-profile {
    display: flex;
    align-items: center;
    gap: 12px;

    background: #fff;
    padding: 10px 16px;
    border-radius: 10px;

    white-space: nowrap;
}

.admin-body .admin-profile i {
    background: #1b3716;
    color: #f3dcba;
    padding: 11px;
    border-radius: 50%;
}

/* Flash messages */

.admin-body .flash-message {
    padding: 14px 17px;
    margin: 0 0 23px;
    border-radius: 9px;

    font-size: 13px;

    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-body .flash-message.success {
    background: #e6f2e4;
    color: #28612c;
    border: 1px solid #cce3c8;
}

.admin-body .flash-message.error {
    background: #fbe9e6;
    color: #963b32;
    border: 1px solid #f0d0ca;
}

/* Overview cards */

.admin-body .section-heading {
    color: #1b3716;
    font-size: 19px;
    margin: 0 0 18px;
}

.admin-body .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 17px;
    margin-bottom: 35px;
}

.admin-body .stat-card {
    background: #fff;
    padding: 22px;
    border-radius: 12px;
    border: 1px solid #e6dfd2;
    box-shadow: 0 4px 15px rgba(0,0,0,.03);
    min-width: 0;
}

.admin-body .stat-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.admin-body .stat-top p {
    margin: 0;
    font-size: 13px;
    color: #777;
}

.admin-body .stat-icon {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;

    display: grid;
    place-items: center;

    border-radius: 10px;
    background: #f3ecdf;
    color: #1b3716;

    font-size: 18px;
}

.admin-body .stat-card h3 {
    font-size: 27px;
    color: #1b3716;
    margin: 0 0 6px;
}

.admin-body .stat-card > p {
    font-size: 12px;
    color: #888;
    margin: 0;
}

/* Shared section cards */

.admin-body .admin-section {
    background: #fff;
    border: 1px solid #e6dfd2;
    border-radius: 12px;
    padding: 23px;
    margin-bottom: 25px;

    scroll-margin-top: 20px;

    box-shadow: 0 4px 15px rgba(0,0,0,.025);
}

.admin-body .section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
}

.admin-body .section-title-row h2 {
    color: #1b3716;
    font-size: 19px;
    margin: 0 0 7px;
}

.admin-body .section-title-row p {
    color: #888;
    font-size: 12px;
    margin: 0;
}

.admin-body .heading-actions {
    display: flex;
    align-items: center;
    gap: 13px;
    flex-wrap: wrap;
}

.admin-body .result-count {
    color: #777;
    font-size: 12px;
    white-space: nowrap;
}

/* Buttons and forms */

.admin-body .btn-primary,
.admin-body .btn-light,
.admin-body .btn-danger {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 7px;

    min-height: 40px;
    padding: 9px 14px;

    border-radius: 7px;
    border: 0;

    text-decoration: none;
    cursor: pointer;

    font-family: inherit;
    font-size: 12px;
    white-space: nowrap;

    transition: .2s;
}

.admin-body .btn-primary {
    background: #1b3716;
    color: #f3dcba;
}

.admin-body .btn-primary:hover {
    background: #285323;
}

.admin-body .btn-light {
    background: #f3ecdf;
    color: #1b3716;
}

.admin-body .btn-light:hover {
    background: #e8dcc7;
}

.admin-body .btn-danger {
    background: #fbe6e4;
    color: #a3322b;
}

.admin-body .btn-danger:hover {
    background: #f4d3d0;
}

.admin-body .btn-small {
    min-height: 33px;
    padding: 7px 10px;
    font-size: 11px;
}

.admin-body .filter-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 0 21px;
}

.admin-body .filter-form input,
.admin-body .filter-form select,
.admin-body .inline-form select,
.admin-body .field input,
.admin-body .field select,
.admin-body .field textarea {
    border: 1px solid #e2ddcf;
    border-radius: 7px;

    background: #fff;
    color: #263322;

    padding: 11px 12px;

    font-family: inherit;
    font-size: 13px;

    outline: none;
    min-height: 41px;
    max-width: 100%;
}

.admin-body .filter-form input {
    width: min(330px, 100%);
}

.admin-body .filter-form select {
    min-width: 165px;
}

.admin-body .filter-form input:focus,
.admin-body .filter-form select:focus,
.admin-body .field input:focus,
.admin-body .field select:focus,
.admin-body .field textarea:focus {
    border-color: #1b3716;
    box-shadow: 0 0 0 3px rgba(27,55,22,.08);
}

.admin-body .form-panel {
    background: #faf8f3;
    border: 1px solid #e6dfd2;
    border-radius: 10px;
    padding: 21px;
    margin-bottom: 23px;
}

.admin-body .form-panel h3 {
    color: #1b3716;
    font-size: 17px;
    margin: 0 0 19px;
}

.admin-body .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.admin-body .field {
    display: flex;
    flex-direction: column;
    gap: 8px;

    color: #35452f;
    font-size: 13px;
    font-weight: 600;

    min-width: 0;
}

.admin-body .field-full {
    grid-column: 1 / -1;
}

.admin-body .field input,
.admin-body .field select,
.admin-body .field textarea {
    width: 100%;
    font-weight: 400;
}

.admin-body .field textarea {
    resize: vertical;
    line-height: 1.8;
}

.admin-body .field small {
    font-size: 11px;
    line-height: 1.6;
    color: #888;
    font-weight: 400;
}

.admin-body .form-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 19px;
}

.admin-body .inline-alert {
    background: #fff1d8;
    color: #805a16;
    padding: 12px;
    border-radius: 7px;
    font-size: 13px;
}

/* Tables */

.admin-body .table-wrap {
    width: 100%;
    overflow-x: auto;
}

.admin-body table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.admin-body th,
.admin-body td {
    text-align: right;
    vertical-align: middle;
    padding: 14px 11px;
    border-bottom: 1px solid #eee9e0;
    font-size: 12px;
}

.admin-body th {
    color: #6e7669;
    background: #faf8f3;
    font-weight: 600;
    white-space: nowrap;
}

.admin-body td {
    color: #42483e;
}

.admin-body tbody tr:hover {
    background: #fdfcf9;
}

.admin-body .empty-cell {
    text-align: center;
    padding: 29px;
    color: #888;
}

.admin-body .title-cell {
    max-width: 290px;
}

.admin-body .title-cell strong,
.admin-body .title-cell small {
    display: block;
}

.admin-body .title-cell strong {
    color: #1b3716;
    margin-bottom: 6px;
}

.admin-body .title-cell small {
    color: #888;
    line-height: 1.6;
    max-width: 270px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-body .description-cell {
    max-width: 300px;
    line-height: 1.7;
}

.admin-body .action-group {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.admin-body .action-group form {
    margin: 0;
}

.admin-body .inline-form {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.admin-body .inline-form select {
    min-height: 33px;
    padding: 5px 7px;
    font-size: 11px;
    max-width: 130px;
}

.admin-body .status-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 11px;
    white-space: nowrap;
}

.admin-body .status-pending {
    background: #fff1d8;
    color: #95620c;
}

.admin-body .status-confirmed {
    background: #e4f2e3;
    color: #27652b;
}

.admin-body .status-rejected {
    background: #fbe6e4;
    color: #a3322b;
}

.admin-body .status-completed {
    background: #e8e9f4;
    color: #454c83;
}

.admin-body .status-cancelled {
    background: #eee;
    color: #555;
}

.admin-body .status-admin {
    background: #e4f2e3;
    color: #27652b;
}

.admin-body .status-client {
    background: #f3ecdf;
    color: #705b36;
}

.admin-body .category-icon {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #f3ecdf;
    color: #1b3716;
}

.admin-body .you-label {
    display: inline-block;
    margin-right: 5px;
    color: #28612c;
    background: #e6f2e4;
    border-radius: 12px;
    padding: 3px 7px;
    font-size: 10px;
}

.admin-body .muted-note {
    color: #888;
    font-size: 11px;
}

/* Booking details */

.admin-body .details-panel {
    background: #faf8f3;
    border: 1px solid #e6dfd2;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 22px;
}

.admin-body .details-panel h3 {
    color: #1b3716;
    font-size: 17px;
    margin: 0 0 16px;
}

.admin-body .details-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
}

.admin-body .detail-item {
    background: #fff;
    border-radius: 7px;
    padding: 13px;
    min-width: 0;
    overflow-wrap: anywhere;
}

.admin-body .detail-item small {
    display: block;
    color: #888;
    margin-bottom: 7px;
}

.admin-body .detail-item strong {
    color: #1b3716;
    font-size: 13px;
    line-height: 1.7;
}

.admin-body .text-link {
    display: inline-block;
    margin-top: 15px;
    color: #1b3716;
    text-decoration: none;
    font-size: 13px;
}

.admin-body .security-note {
    margin: 18px 0 0;
    padding: 11px 13px;
    color: #65715f;
    background: #faf8f3;
    border-radius: 7px;
    font-size: 11px;
}

.admin-body .security-note i {
    margin-left: 5px;
}

.admin-body .admin-footer {
    text-align: center;
    color: #8a8a80;
    padding: 10px 0 25px;
    font-size: 12px;
}

@media (max-width: 1100px) {

    .admin-body .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 700px) {

    .admin-body .sidebar {
        width: 75px;
        padding: 20px 9px;
    }

    .admin-body .brand h2,
    .admin-body .brand p,
    .admin-body .sidebar-title,
    .admin-body .sidebar a span {
        display: none;
    }

    .admin-body .brand i {
        font-size: 25px;
    }

    .admin-body .sidebar a {
        justify-content: center;
        padding: 14px 5px;
    }

    .admin-body .main-content {
        width: calc(100% - 75px);
        margin-right: 75px;
        padding: 18px 12px;
    }

    .admin-body .stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-body .topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-body .section-title-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-body .heading-actions {
        width: 100%;
        justify-content: space-between;
    }

    .admin-body .filter-form {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .admin-body .filter-form input {
        width: 100%;
        grid-column: 1 / -1;
    }

    .admin-body .filter-form select,
    .admin-body .filter-form button {
        width: 100%;
    }

    .admin-body .form-grid,
    .admin-body .details-grid {
        grid-template-columns: 1fr;
    }

    .admin-body .field-full {
        grid-column: auto;
    }

}


/* ==========================================
   31. إصلاح أزرار لوحة الإدارة
   ========================================== */

.admin-body .admin-section .table-wrap td {
    position: relative !important;
    pointer-events: auto !important;
}

.admin-body .admin-section .action-group,
.admin-body .admin-section .action-group * {
    pointer-events: auto !important;
}

.admin-body .admin-section .action-group {
    position: relative !important;
    z-index: 20 !important;

    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;

    overflow: visible !important;
}

.admin-body .admin-section .action-group > .admin-edit-form {
    display: inline-flex !important;
    flex: 0 0 auto !important;

    width: auto !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    position: relative !important;
    z-index: 1000 !important;

    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.admin-body .admin-section .admin-edit-form .admin-edit-trigger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;

    min-width: 76px !important;
    min-height: 34px !important;

    margin: 0 !important;
    padding: 7px 12px !important;

    border: 1px solid #e2ddcf !important;
    border-radius: 7px !important;

    background: #f3ecdf !important;
    color: #1b3716 !important;

    font-family: inherit !important;
    font-size: 12px !important;
    line-height: 1.4 !important;

    text-decoration: none !important;
    cursor: pointer !important;

    position: relative !important;
    z-index: 1001 !important;

    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
}

.admin-body .admin-section .admin-edit-form .admin-edit-trigger:hover {
    background: #e8dcc7 !important;
    color: #1b3716 !important;
}


/* ==========================================
   32. بوابة العميل (Client Portal)
   الهوية المعتمدة: أخضر #162D12 وبيج #D2CCAF
   ========================================== */

.client-portal,
.client-portal * {
    box-sizing: border-box;
}

.client-portal {
    --client-green: #162D12;
    --client-green-hover: #24451D;
    --client-beige: #D2CCAF;
    --client-beige-light: #F3F0E6;
    --client-page-bg: #F7F6F1;
    --client-white: #FFFFFF;
    --client-text: #30392C;
    --client-muted: #817F74;
    --client-border: #E5E1D5;
    --client-shadow: 0 5px 18px rgba(22, 45, 18, .045);

    min-height: 100vh;
    margin: 0;
    background: var(--client-page-bg);
    color: var(--client-text);
    font-family: "Cairo", Arial, sans-serif;
    direction: rtl;
}

.client-portal a {
    -webkit-tap-highlight-color: transparent;
}

.client-layout {
    min-height: 100vh;
}

/* Sidebar and navigation */

.client-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 20;

    display: flex;
    flex-direction: column;

    width: 260px;
    padding: 27px 17px;

    background: var(--client-green);
    color: var(--client-beige);
    box-shadow: -8px 0 25px rgba(22, 45, 18, .09);
}

.client-brand {
    display: flex;
    align-items: center;
    gap: 13px;

    padding: 7px 10px 25px;

    border-bottom: 1px solid rgba(210, 204, 175, .24);
    color: var(--client-beige);
    text-decoration: none;
}

.client-brand > i {
    font-size: 31px;
}

.client-brand span {
    display: flex;
    flex-direction: column;
}

.client-brand strong {
    font-size: 22px;
    line-height: 1.5;
}

.client-brand small {
    font-size: 11px;
    opacity: .78;
}

.client-nav-caption {
    margin: 29px 12px 12px;
    font-size: 11px;
    opacity: .68;
}

.client-nav,
.client-sidebar-bottom {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.client-nav a,
.client-sidebar-bottom a {
    display: flex;
    align-items: center;
    gap: 13px;

    min-height: 47px;
    padding: 0 14px;

    border-radius: 8px;
    color: var(--client-beige);
    text-decoration: none;
    font-size: 13px;
    transition: background-color .2s ease, color .2s ease;
}

.client-nav a i,
.client-sidebar-bottom a i {
    width: 19px;
    text-align: center;
    font-size: 15px;
}

.client-nav a:hover,
.client-nav a.active,
.client-sidebar-bottom a:hover {
    background: var(--client-beige);
    color: var(--client-green);
}

.client-nav a:focus-visible,
.client-sidebar-bottom a:focus-visible,
.client-brand:focus-visible {
    outline: 2px solid var(--client-beige);
    outline-offset: 3px;
}

.client-sidebar-bottom {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(210, 204, 175, .24);
}

/* Main content and header */

.client-main {
    width: calc(100% - 260px);
    max-width: 1700px;
    margin-right: 260px;
    padding: 34px clamp(20px, 3vw, 48px) 25px;
}

.client-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.client-eyebrow {
    margin: 0 0 6px;
    color: #82764F;
    font-size: 12px;
    font-weight: 700;
}

.client-topbar h1 {
    margin: 0 0 5px;
    color: var(--client-green);
    font-size: clamp(23px, 2.2vw, 30px);
}

.client-topbar p {
    margin: 0;
    color: var(--client-muted);
    font-size: 13px;
}

.client-user-chip {
    display: flex;
    align-items: center;
    gap: 11px;

    padding: 10px 15px;

    border: 1px solid var(--client-border);
    border-radius: 12px;
    background: var(--client-white);
}

.client-user-chip > span:last-child {
    display: flex;
    flex-direction: column;
}

.client-user-chip strong {
    color: var(--client-green);
    font-size: 12px;
}

.client-user-chip small {
    max-width: 190px;
    color: var(--client-muted);
    font-size: 10px;
    overflow-wrap: anywhere;
}

.client-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 39px;

    width: 39px;
    height: 39px;

    border-radius: 50%;
    background: var(--client-green);
    color: var(--client-beige);
}

/* Feedback messages */

.client-alert {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 22px;
    padding: 13px 16px;

    border-radius: 9px;
    font-size: 13px;
}

.client-alert.success {
    border: 1px solid #CFE3C9;
    background: #EAF3E7;
    color: #285D2A;
}

.client-alert.error {
    border: 1px solid #EFCFCA;
    background: #FAE9E6;
    color: #963B32;
}

/* Sections and section headings */

.client-section {
    margin: 0 0 34px;
    scroll-margin-top: 22px;
}

.client-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 17px;
}

.client-section-heading h2 {
    margin: 0 0 4px;
    color: var(--client-green);
    font-size: 20px;
}

.client-section-heading p {
    margin: 0;
    color: var(--client-muted);
    font-size: 12px;
}

.client-count-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 30px;
    padding: 5px 13px;

    border: 1px solid rgba(22, 45, 18, .08);
    border-radius: 30px;
    background: var(--client-beige-light);
    color: var(--client-green);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}


.client-primary-link,
.client-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 12px 25px;
    border: 0;
    border-radius: 6px;

    background: rgb(210, 204, 175);
    color: rgb(22, 45, 18) !important;

    font-family: inherit;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.4;

    text-decoration: none;
    cursor: pointer;
    appearance: none;

    transition: all 0.3s ease;
}

.client-primary-link:hover,
.client-primary-btn:hover {
    background: rgb(22, 45, 18);
    color: rgb(210, 204, 175) !important;
}

.client-primary-link:focus-visible,
.client-primary-btn:focus-visible {
    outline: 3px solid rgba(22, 45, 18, .2);
    outline-offset: 3px;
}

/* Overview statistics */

.client-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

.client-stat-card {
    display: flex;
    align-items: center;
    gap: 14px;

    min-height: 105px;
    padding: 19px;

    border: 1px solid var(--client-border);
    border-radius: 12px;
    background: var(--client-white);
    box-shadow: var(--client-shadow);
}

.client-stat-icon {
    display: grid;
    place-items: center;
    flex: 0 0 44px;

    width: 44px;
    height: 44px;

    border-radius: 11px;
    background: var(--client-beige-light);
    color: var(--client-green);
    font-size: 17px;
}

.client-stat-card div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.client-stat-card small {
    color: var(--client-muted);
    font-size: 11px;
}

.client-stat-card strong {
    color: var(--client-green);
    font-size: 25px;
    line-height: 1.3;
}

/* Next appointment */

.client-next-appointment {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-top: 17px;
    padding: 18px 20px;

    border: 1px solid #DED8C5;
    border-radius: 12px;
    background: var(--client-beige-light);
}

.next-icon {
    display: grid;
    place-items: center;
    flex: 0 0 43px;

    width: 43px;
    height: 43px;

    border-radius: 50%;
    background: var(--client-green);
    color: var(--client-beige);
}

.next-content {
    flex: 1;
}

.next-content h3 {
    margin: 0 0 3px;
    color: var(--client-green);
    font-size: 14px;
}

.next-content p {
    margin: 0;
    color: #716F64;
    font-size: 12px;
}

.client-next-appointment > a {
    color: var(--client-green);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.client-next-appointment > a:hover,
.client-table-link:hover,
.client-download-link:hover {
    text-decoration: underline;
}

/* Panels and forms */

.client-panel {
    padding: 23px;

    border: 1px solid var(--client-border);
    border-radius: 12px;
    background: var(--client-white);
    box-shadow: var(--client-shadow);
}

.client-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.client-form label {
    display: flex;
    flex-direction: column;
    gap: 7px;

    color: #44503D;
    font-size: 12px;
    font-weight: 700;
}

.client-form input:not([type="hidden"]),
.client-form select,
.client-form textarea {
    width: 100%;
    min-height: 43px;
    padding: 10px 12px;

    border: 1px solid #DEDCCF;
    border-radius: 7px;
    outline: none;

    background: #FFFEFA;
    color: var(--client-text);
    font-family: inherit;
    font-size: 12px;
}

.client-form input:focus,
.client-form select:focus,
.client-form textarea:focus {
    border-color: #829276;
    box-shadow: 0 0 0 3px rgba(22, 45, 18, .08);
}

.client-form textarea {
    min-height: 95px;
    resize: vertical;
}

.client-form input[type="file"] {
    padding: 8px;
    background: #F8F7F2;
}

.client-form small {
    color: var(--client-muted);
    font-size: 10px;
    font-weight: 400;
    line-height: 1.8;
}

.field-wide {
    grid-column: 1 / -1;
}

.client-form-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 20px;
}

.client-form-actions > span {
    color: var(--client-muted);
    font-size: 10px;
}

/* Tables */

.client-table-panel {
    padding: 0;
    overflow: hidden;
}

.client-panel-title,
.client-table-panel .client-panel-title {
    margin: 0;
    color: var(--client-green);
    font-size: 15px;
}

.client-panel-title {
    margin-bottom: 17px;
}

.client-table-panel .client-panel-title {
    padding: 21px 22px 13px;
}

.client-table-scroll {
    width: 100%;
    overflow-x: auto;
}

.client-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.client-table th,
.client-table td {
    padding: 14px 15px;
    border-bottom: 1px solid #ECE9E0;
    text-align: right;
    font-size: 11px;
    vertical-align: middle;
}

.client-table th {
    background: #F8F7F2;
    color: #77766D;
    font-weight: 700;
    white-space: nowrap;
}

.client-table td {
    color: #454B40;
}

.client-table tbody tr:last-child td {
    border-bottom: 0;
}

.client-table tbody tr:hover {
    background: #FCFBF7;
}

.client-row-note {
    display: block;
    max-width: 220px;
    margin-top: 4px;

    color: #858276;
    font-size: 10px;
    overflow-wrap: anywhere;
}

.client-table-link,
.client-download-link {
    color: var(--client-green-hover);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.client-download-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.client-empty {
    padding: 28px !important;
    color: #858276 !important;
    text-align: center !important;
}

/* Booking and document statuses */

.client-status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 30px;
    font-size: 10px;
    white-space: nowrap;
}

.client-status.status-pending {
    background: #FFF1D8;
    color: #95620C;
}

.client-status.status-confirmed {
    background: #E4F2E3;
    color: #27652B;
}

.client-status.status-rejected {
    background: #FBE6E4;
    color: #A3322B;
}

.client-status.status-completed {
    background: #E8E9F4;
    color: #454C83;
}

.client-status.status-cancelled {
    background: #EEEEEE;
    color: #555555;
}

/* Document notice and empty states */

.client-document-notice {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-bottom: 17px;
    padding: 15px 18px;

    border: 1px solid #DED8C5;
    border-radius: 10px;
    background: var(--client-beige-light);
    color: #5D5B50;
}

.client-document-notice > i {
    flex: 0 0 auto;
    color: var(--client-green);
    font-size: 23px;
}

.client-document-notice p {
    margin: 0;
    font-size: 11px;
    line-height: 1.9;
}

.client-document-notice strong {
    color: var(--client-green);
}

.client-empty-panel {
    padding: 35px;
    text-align: center;
}

.client-empty-panel > i {
    color: #8B805D;
    font-size: 32px;
}

.client-empty-panel h3 {
    color: var(--client-green);
    font-size: 16px;
}

.client-empty-panel p {
    color: var(--client-muted);
    font-size: 12px;
}

.client-empty-panel .client-primary-link {
    margin-top: 8px;
}

.client-file-icon {
    margin-left: 5px;
    color: #8B805D;
}

/* Profile and footer */

.client-profile-panel {
    max-width: 850px;
}

.client-footer {
    display: flex;
    justify-content: space-between;
    gap: 15px;

    padding: 18px 3px 5px;

    border-top: 1px solid var(--client-border);
    color: #777469;
    font-size: 11px;
}

.client-footer span {
    color: #918E82;
}

/* Responsive layout */

@media (max-width: 1150px) {
    .client-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .client-sidebar {
        width: 76px;
        padding: 20px 8px;
    }

    .client-brand {
        justify-content: center;
        padding: 7px 0 20px;
    }

    .client-brand span,
    .client-nav-caption,
    .client-nav a span,
    .client-sidebar-bottom a span {
        display: none;
    }

    .client-brand > i {
        font-size: 25px;
    }

    .client-nav a,
    .client-sidebar-bottom a {
        justify-content: center;
        padding: 0;
    }

    .client-nav a i,
    .client-sidebar-bottom a i {
        font-size: 17px;
    }

    .client-main {
        width: calc(100% - 76px);
        margin-right: 76px;
        padding: 22px 13px;
    }

    .client-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .client-user-chip {
        max-width: 100%;
    }

    .client-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .client-stat-card {
        min-height: 88px;
        gap: 9px;
        padding: 12px;
    }

    .client-stat-icon {
        flex-basis: 37px;
        width: 37px;
        height: 37px;
        font-size: 14px;
    }

    .client-stat-card strong {
        font-size: 21px;
    }

    .client-section-heading {
        align-items: flex-start;
    }

    .client-section-heading h2 {
        font-size: 17px;
    }

    .client-form-grid {
        grid-template-columns: 1fr;
    }

    .field-wide {
        grid-column: auto;
    }

    .client-panel {
        padding: 16px;
    }

    .client-table-panel {
        padding: 0;
    }

    .client-next-appointment {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .client-next-appointment > a {
        margin-right: 58px;
    }

    .client-footer {
        flex-direction: column;
    }
}

@media (max-width: 400px) {
    .client-stats-grid {
        grid-template-columns: 1fr;
    }

    .client-primary-link {
        padding: 0 11px;
    }
}

/* Respect reduced-motion preferences */

@media (prefers-reduced-motion: reduce) {
    .client-portal *,
    .client-portal *::before,
    .client-portal *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* =====================================================
   ADMIN CASE DOCUMENTS
   ===================================================== */

.admin-documents-section .admin-documents-table {
    min-width: 1100px;
}

.admin-documents-section .admin-documents-table td {
    vertical-align: middle;
}

.admin-documents-section .admin-documents-file {
    display: inline-block;
    max-width: 220px;
    overflow-wrap: anywhere;
    color: #162D12;
    font-weight: 600;
}

.admin-documents-section .admin-documents-user {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 140px;
}

.admin-documents-section .admin-documents-user strong {
    color: #162D12;
    font-size: 14px;
}

.admin-documents-section .admin-documents-user small {
    color: #777;
    font-size: 12px;
    direction: ltr;
    text-align: right;
    overflow-wrap: anywhere;
}

.admin-documents-section .admin-documents-booking {
    display: inline-block;
    direction: ltr;
    color: #162D12;
    font-weight: 600;
}

.admin-documents-section .admin-documents-description {
    min-width: 170px;
    max-width: 260px;
    white-space: normal;
    line-height: 1.7;
    color: #666;
}

.admin-documents-section .admin-documents-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .admin-documents-section .section-title-row {
        gap: 12px;
        flex-wrap: wrap;
    }

    .admin-documents-section .admin-documents-table {
        min-width: 1100px;
    }
}
/* =========================================
   AGENDA - CLASSIC JUSTICE SCALE
   ========================================= */

.agenda-home .agenda-scales-visual {
    position: relative;
    width: 100%;
    min-height: 450px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 10px;

    background: transparent !important;
    background-image: none !important;

    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    overflow: visible;
}



/* SVG scale */

.agenda-scales-svg {
    display: block;
    position: relative;
    z-index: 2;

    width: min(100%, 440px);
    height: auto;

    overflow: visible;

    color: #1b3716;
}

/* Fixed pillar and base */



/* Moving beam and pans */

.agenda-scale-moving-parts {
    transform-box: view-box;
    transform-origin: 260px 142px;

    animation: agendaScaleBalance 3s ease-in-out infinite;
}

/* Gentle balancing movement */

@keyframes agendaScaleBalance {
    

    25% {
        transform: rotate(-1.5deg);
    }

    75% {
        transform: rotate(1.5deg);
    }
}

/* Tablet */

@media (max-width: 768px) {
    

    .agenda-scales-svg {
        width: min(95%, 370px);
    }
}

/* Mobile */

@media (max-width: 480px) {
    

    .agenda-scales-svg {
        width: min(100%, 310px);
    }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    .agenda-scale-moving-parts {
        animation: none !important;
    }
}
/* =========================================
   AGENDA - CLASSIC JUSTICE SCALE & ORBITS
   ========================================= */

.agenda-home .agenda-scales-visual {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: transparent !important;
    background-image: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible;
}

.agenda-scales-visual::before,
.agenda-scales-visual::after {
    content: none !important;
    display: none !important;
}

/* SVG scale */
.agenda-scales-svg {
    display: block;
    position: relative;
    z-index: 2;
    width: min(100%, 490px);
    height: auto;
    overflow: visible;
    color: #1b3716;
}

/* Fixed pillar and base */
.agenda-scale-pillar {
    transform: none;
}

/* Moving beam, cords, and pans */
.agenda-scale-moving-parts {
    transform-box: view-box;
    transform-origin: 300px 182px;
    animation: agendaScaleBalance 3s ease-in-out infinite;
}

/* Gentle balancing movement */
@keyframes agendaScaleBalance {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
         transform: rotate(-1deg);
    }
    75% {
         transform: rotate(1deg);
    }
}

/* Rotating circles */
.agenda-scales-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: transparent;
    pointer-events: none;
    z-index: 1;
}

/* Outer smooth circle */
.agenda-scales-orbit-solid {
    width: min(100%, 575px);
    border: 1px solid rgba(27, 55, 22, 0.28);
    animation: agendaOrbitForward 65s linear infinite;
}

/* Inner dashed circle */
.agenda-scales-orbit-dashed {
    width: min(82%, 475px);
    border: 1px dashed rgba(27, 55, 22, 0.38);
    animation: agendaOrbitBackward 85s linear infinite;
}

@keyframes agendaOrbitForward {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes agendaOrbitBackward {
    from {
        transform: translate(-50%, -50%) rotate(360deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

/* Tablet */
@media (max-width: 768px) {
    .agenda-home .agenda-scales-visual {
        min-height: 380px;
    }

    .agenda-scales-svg {
        width: min(95%, 410px);
    }

    .agenda-scales-orbit-solid {
        width: min(96%, 380px);
    }

    .agenda-scales-orbit-dashed {
        width: min(80%, 310px);
    }
}

/* Mobile */
@media (max-width: 480px) {
    .agenda-home .agenda-scales-visual {
        min-height: 320px;
    }

    .agenda-scales-svg {
        width: min(100%, 340px);
    }

    .agenda-scales-orbit-solid {
        width: min(96%, 320px);
    }

    .agenda-scales-orbit-dashed {
        width: min(80%, 260px);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .agenda-scale-moving-parts,
    .agenda-scales-orbit {
        animation: none !important;
    }
}
