/* ==========================================================================
   الجمعية التعاونية للبناء و الاسكان - ملف التنسيقات الرئيسي
   ========================================================================== */

/* استيراد الخطوط */
@import url('https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
    --primary-color: #0d6832;
    --secondary-color: #28a745;
    --text-color: #333;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* التنسيقات الأساسية */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Kufi Arabic', sans-serif;
    direction: rtl;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

/* ==========================================================================
   1. المتغيرات العامة
   ========================================================================== */
:root {
    /* الألوان الرئيسية */
    --primary-color: #0d6832;
    --secondary-color: #28a745;
    --accent-color: #43a047;
    --light-green: #8bc34a;
    --very-light-green: #e8f5e9;
    --text-color: #333;
    --white: #fff;
    --light-bg: #f8f9fa;
    
    /* الظلال */
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   2. الصفحة الرئيسية - index.php
   ========================================================================== */

/* 2.1 السلايدر الرئيسي (الكاروسيل) */
#mainCarousel {
    width: 100% !important;
    height: 80vh !important;
    overflow: hidden !important;
}

#mainCarousel .carousel-inner,
#mainCarousel .carousel-item {
    height: 100% !important;
}

#mainCarousel .carousel-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

#mainCarousel .carousel-caption {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    bottom: auto !important;
    right: auto !important;
    text-align: center !important;
    width: 80% !important;
    max-width: 800px !important;
    background: rgba(0, 0, 0, 0.6) !important;
    padding: 2rem !important;
    border-radius: 10px !important;
    backdrop-filter: blur(5px) !important;
}

/* تحسينات التجاوب للكاروسيل */
@media (max-width: 1200px) {
    #mainCarousel {
        height: 70vh !important;
    }
    
    #mainCarousel .carousel-caption {
        width: 85% !important;
    }
}

@media (max-width: 992px) {
    #mainCarousel {
        height: 65vh !important;
    }
    
    #mainCarousel .carousel-caption {
        width: 90% !important;
        padding: 1.5rem !important;
    }
    
    #mainCarousel .carousel-caption .main-title {
        font-size: 2rem !important;
    }
}

@media (max-width: 768px) {
    #mainCarousel {
        height: 60vh !important;
    }
    
    #mainCarousel .carousel-caption {
        width: 95% !important;
        padding: 1.2rem !important;
    }
    
    #mainCarousel .carousel-caption .main-title {
        font-size: 1.8rem !important;
    }
}

@media (max-width: 576px) {
    #mainCarousel {
        height: 50vh !important;
        min-height: 300px !important;
    }
    
    #mainCarousel .carousel-caption {
        padding: 1rem !important;
        background: rgba(0, 0, 0, 0.7) !important;
    }
    
    #mainCarousel .carousel-caption .main-title {
        font-size: 1.4rem !important;
        margin-bottom: 0.5rem !important;
    }
}

/* 2.2 قسم من نحن */
.about-section {
    padding: 5rem 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.about-section .section-header {
    margin-bottom: 3rem;
}

.about-logo-wrapper {
    text-align: center;
    margin-bottom: 2rem;
}

.about-logo {
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.about-text {
    text-align: justify;
}

.about-text h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.about-text p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-card {
    margin-bottom: 4rem;
    position: relative;
    padding-bottom: 2rem;
}

.about-card:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(to right, transparent, #28a745, transparent);
}

.about-card:not(:last-child)::before {
    content: '❈';
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    color: #28a745;
    font-size: 1.5rem;
    background: #fff;
    padding: 0 1rem;
}

.about-content {
    padding: 2rem;
}

/* 2.3 قسم خدماتنا */
.services-section {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.services-section .section-header {
    margin-bottom: 3rem;
}

.service-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-title {
    color: #28a745; /* لون أخضر متوسط */
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-title:hover {
    color: #0d6832; /* لون أخضر غامق عند التحويم */
}

.service-title a {
    color: inherit;
    text-decoration: none;
}

.service-title a:hover {
    color: inherit;
    text-decoration: none;
}

.service-description {
    color: var(--text-color);
    line-height: 1.6;
}

/* 2.4 قسم آخر الأخبار */
.news-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.news-section .section-header {
    margin-bottom: 3rem;
}

.news-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    background: rgba(40, 167, 69, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.news-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image-container img {
    transform: scale(1.05);
}

.news-date {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(40, 167, 69, 0.8);
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    z-index: 1;
}

.news-content {
    padding: 1.5rem;
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.news-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #333;
    line-height: 1.4;
    max-height: 2.8em; /* حد أقصى سطرين */
    overflow: hidden;
}

.news-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* حد أقصى 3 أسطر */
    line-clamp: 3; /* الخاصية القياسية */
    -webkit-box-orient: vertical;
}

.news-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(40, 167, 69, 0.2);
    text-align: left;
    background: transparent;
}

.btn-read-more {
    display: inline-block;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 5px 15px;
    border-radius: 4px;
}

.btn-read-more:hover {
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
}

/* تحسينات للأجهزة المحمولة */
@media (max-width: 992px) {
    .news-image-container {
        height: 250px;
    }
    
    .news-content {
        padding: 1.25rem;
    }
    
    .news-content h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .news-section {
        padding: 4rem 0;
    }
    
    .news-card {
        margin-bottom: 2rem;
    }
    
    .news-image-container {
        height: 200px;
    }
    
    .news-content {
        padding: 1rem;
    }
    
    .news-date {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .news-section {
        padding: 3rem 0;
    }
    
    .news-image-container {
        height: 180px;
    }
    
    .news-content {
        padding: 0.8rem;
    }
    
    .news-content h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
}



/* تنسيقات قسم الخدمات */
.service-note {
    position: relative;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: center;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
}

.service-note:hover {
    transform: translateY(-5px);
}

.service-image-container {
    width: 75px;
    height: 75px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-image {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border-radius: 50%;
}

.service-note h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.service-note p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.service-note .read-more {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
}

/* ألوان البطاقات */
.note-blue {
    --gradient-start: #4e54c8;
    --gradient-end: #8f94fb;
}
.note-blue .read-more { color: #4e54c8; }

.note-green {
    --gradient-start: #11998e;
    --gradient-end: #38ef7d;
}
.note-green .read-more { color: #11998e; }

.note-purple {
    --gradient-start: #834d9b;
    --gradient-end: #d04ed6;
}
.note-purple .read-more { color: #834d9b; }

.note-orange {
    --gradient-start: #fc4a1a;
    --gradient-end: #f7b733;
}
.note-orange .read-more { color: #fc4a1a; }

.note-red {
    --gradient-start: #e53935;
    --gradient-end: #ff5252;
}
.note-red .read-more { color: #e53935; }

/* تنسيقات مجلس الإدارة */
.council-section {
    padding: 10px 0;
}

.council-section .swiper-container {
    padding: 20px 0;
    overflow: visible;
}

.swiper-slide {
    width: 300px !important;
    margin-right: 15px !important;
}

.council-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--hover-shadow);
    transition: transform 0.3s ease;
    height: 100%;
    text-align: center;
}

.council-card:hover {
    transform: translateY(-10px);
}

.member-image {
    width: 200px;
    height: 200px;
    overflow: hidden;
    border-radius: 50%;
}

.member-image img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    background-color: #f8f9fa;
    border: 5px solid var(--white);
    box-shadow: var(--shadow);
    transition: opacity 0.3s ease-in-out;
}

.member-info h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.member-info .position {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.member-info .join-date {
    color: var(--text-color);
    font-size: 0.9rem;
}

.member-info .join-date i {
    margin-left: 5px;
    color: var(--primary-color);
}

/* تنسيقات Swiper */
.council-swiper {
    padding: 20px 30px;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
    width: 40px;
    height: 40px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

@media (max-width: 768px) {
    .swiper-slide {
        width: 250px !important;
        margin-right: 10px !important;
    }
    
    .council-card {
        padding: 20px;
    }
    
    .member-image {
        width: 180px;
        height: 180px;
    }
    
    .member-info h3 {
        font-size: 1.2rem;
    }
}

/* تنسيقات قسم الأخبار */
.news-section {
    background: #fff;
    padding: 80px 0;
    position: relative;
}

.news-section .section-header h2 {
    color: #2b5592;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.news-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #2b5592;
}

.news-card {
    position: relative;
    height: 450px; /* تحديد ارتفاع ثابت للبطاقة */
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    margin-bottom: 30px;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image-container {
    position: relative;
    width: 100%;
    height: 200px; /* ارتفاع ثابت للصورة */
    overflow: hidden;
}

.news-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-date {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    z-index: 1;
}

.news-content {
    flex: 1;
    padding: 45px 25px 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.4;
    max-height: 2.8em; /* حد أقصى سطرين */
    overflow: hidden;
}

.news-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* حد أقصى 3 أسطر */
    line-clamp: 3; /* الخاصية القياسية */
    -webkit-box-orient: vertical;
}

.news-footer {
    padding: 15px 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: left;
    background: #fff;
}

.btn-read-more {
    display: inline-block;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 5px 15px;
    border-radius: 4px;
}

.btn-read-more:hover {
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
}

/* أنماط الريبون للأخبار والفعاليات */
.ribbon {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 4px;
    margin-right: 10px;
    color: white;
}

.ribbon-news {
    background-color: #28a745; /* لون أخضر للأخبار */
}

.ribbon-event {
    background-color: #007bff; /* لون أزرق للفعاليات */
}

/* تنسيقات العناوين الرئيسية للقطاعات */
.section-header {
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-header h2::before,
.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    height: 4px;
    border-radius: 2px;
}

.section-header h2::before {
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    background: var(--primary-color);
}

.section-header h2::after {
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    background: var(--secondary-color);
    bottom: -20px;
}

.section-divider {
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    margin: 0 auto;
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 1.75rem;
    }
}

/* تنسيقات صفحة الخدمات */
.search-section {
    border-bottom: 1px solid #eee;
}

.service-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-image {
    position: relative;
    overflow: hidden;
    height: 75px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.service-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.pagination-wrapper {
    margin-top: 2rem;
}

.pagination .page-link {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.pagination .page-link:hover {
    background-color: var(--primary-color);
    color: white;
}

/* أنماط الريبون للأخبار والفعاليات */
.ribbon {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 4px;
    margin-right: 10px;
    color: white;
}

.ribbon-news {
    background-color: #28a745; /* لون أخضر للأخبار */
}

.ribbon-event {
    background-color: #007bff; /* لون أزرق للفعاليات */
}

/* تنسيقات صفحة الخدمات - نمط المجلة */
.services-magazine {
    max-width: 1000px;
    margin: 0 auto;
}

.service-article {
    background: #fff;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-right: 4px solid var(--primary-color);
    position: relative;
    padding-top: 30px;
}

.service-article:hover {
    transform: translateX(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.article-image {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

.article-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-content {
    padding: 0 20px;
}

.article-meta {
    margin-bottom: 10px;
}

.article-date {
    color: #666;
    font-size: 0.9rem;
}

.article-date i {
    margin-left: 5px;
    color: var(--primary-color);
}

.article-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.article-excerpt {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.article-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
    padding-top: 15px;
}

.author-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-left: 10px;
}

.author-name {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.read-more:hover {
    color: var(--secondary-color);
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(-5px);
}

/* تنسيقات قسم البحث */
.search-section {
    background: #fff;
    padding: 25px 0;
    margin-bottom: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.search-section .form-control {
    border: 1px solid #ddd;
    padding: 10px 15px;
    border-radius: 6px;
}

.search-section .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 188, 212, 0.25);
}

.search-section .btn-primary {
    padding: 10px 25px;
}

@media (max-width: 768px) {
    .article-content {
        padding: 20px 0 0 0;
    }
    
    .article-title {
        font-size: 1.3rem;
    }
    
    .service-article {
        padding: 15px;
    }
}

/* تنسيقات الوسوم */
.article-tag {
    position: absolute;
    left: -10px;
    top: 20px;
    z-index: 1;
}

.category-tag {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 4px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
}

.category-tag::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 10px;
    height: 5px;
    background: inherit;
    filter: brightness(70%);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

/* ألوان الوسوم المختلفة */
.tag-project {
    background-color: #2196F3; /* أزرق */
}

.tag-trip {
    background-color: #4CAF50; /* أخضر */
}

.tag-training {
    background-color: #FF9800; /* برتقالي */
}

.tag-event {
    background-color: #E91E63; /* وردي */
}

.tag-other {
    background-color: #607D8B; /* رمادي مائل للأزرق */
}

/* تحسينات أداء الصور */
.lazy-image {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.lazy-image.loaded {
    opacity: 1;
}

.news-card img,
.service-card img,
.ad-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background-color: #f8f9fa; /* لون خلفية أثناء تحميل الصورة */
    transition: opacity 0.3s ease-in-out;
}

/* تحسين أداء الصور في الكاروسيل */
.carousel-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: opacity 0.3s ease-in-out;
}

/* تحسين أداء صور مجلس الإدارة */
.council-card .member-image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    background-color: #f8f9fa;
    transition: opacity 0.3s ease-in-out;
}

/* دعم 5 أعمدة متساوية */
.col-lg-2-4 {
    flex: 0 0 20%;
    max-width: 20%;
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (max-width: 992px) {
    .col-lg-2-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    .col-lg-2-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* تعديل حجم النوتس للتناسب مع 5 أعمدة */
.service-note {
    margin-right: 5px;
    margin-left: 5px;
}

.service-note .service-image-container {
    width: 70px;
    height: 70px;
}

.service-note i {
    font-size: 2rem;
}

.service-note h3 {
    font-size: 1.2rem;
}

/* تنسيقات قائمة الخدمات */
.services-list {
    margin-top: -40px;
}

.service-row {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid rgba(0, 33, 71, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.service-row:hover {
    background-color: rgba(0, 33, 71, 0.02);
}

.service-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #002147;
}

.service-content {
    flex-grow: 1;
}

.service-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.service-subtitle {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.service-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem;
}

.service-date {
    font-size: 0.85rem;
    color: #888;
}

.service-link {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    text-decoration: none;
    color: #fff;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

.service-link:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* ألوان المؤشرات */
.indicator-1 { background: #4e54c8; }
.indicator-2 { background: #11998e; }
.indicator-3 { background: #834d9b; }
.indicator-4 { background: #fc4a1a; }
.indicator-5 { background: #e53935; }

/* صفحة تفاصيل الخدمة */
.service-detail-page {
    margin-top: -20px;
}

.service-cover {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    align-items: center;
    text-align: center;
}

.service-cover .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 33, 71, 0.7);
}

.service-cover .cover-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.service-cover .meta-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.service-cover .category-badge,
.service-cover .date-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.service-cover .category-badge i,
.service-cover .date-badge i {
    margin-left: 0.5rem;
}

.service-content {
    background: #fff;
}

.service-summary {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-right: 4px solid var(--primary-color);
}

.service-details .details-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.service-details .details-content p {
    margin-bottom: 1.5rem;
}

/* تنسيقات صفحة تفاصيل الأخبار */
.news-detail-page .news-cover {
    background: #2b5592;
    padding: 60px 0;
    position: relative;
}

.news-detail-page .news-cover .overlay {
    display: none;
}

.news-detail-page .cover-content {
    position: relative;
    z-index: 2;
}

.news-detail-page .meta-info {
    margin-top: 20px;
}

.news-detail-page .meta-info span {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    margin: 0 5px;
}

.news-detail-page .meta-info span i {
    margin-left: 5px;
}

.news-cover {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
}

.news-cover .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.news-cover .cover-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.news-cover .meta-info {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.date-badge, .category-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
}

.news-badge {
    background: rgba(40, 167, 69, 0.2);
}

.event-badge {
    background: rgba(0, 123, 255, 0.2);
}

.news-content {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-summary {
    font-size: 1.3rem;
    font-weight: 600;
    color: #007bff;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.news-details .details-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.news-image {
    margin: 2rem 0;
    text-align: center;
}

.news-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-details {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.news-image-container {
    position: sticky;
    top: 2rem;
    padding: 1rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-side-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* أنماط معلومات الكاتب */
.author-info {
    display: flex;
    align-items: center;
    margin: 15px 0;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-left: 10px;
}

.author-name {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

/* تنسيقات بطاقات المقالات */
.services-list {
    margin: 0 -15px;
}

.service-row {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    position: relative;
    display: flex;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.service-row:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.service-content {
    flex: 1;
    padding-right: 1.5rem;
}

.service-title {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.service-subtitle {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #888;
    font-size: 0.9rem;
}

.service-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.service-category {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #fff;
    background: #6c757d;
}

/* ألوان المؤشرات */
.indicator-1 { background-color: #2196F3; }
.indicator-2 { background-color: #4CAF50; }
.indicator-3 { background-color: #FF9800; }
.indicator-4 { background-color: #9C27B0; }
.indicator-5 { background-color: #E91E63; }

/* تحسينات للبحث */
.search-section .form-control {
    border-radius: 8px;
    padding: 0.8rem 1.2rem;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.search-section .form-control:focus {
    border-color: #2196F3;
    box-shadow: 0 2px 10px rgba(33, 150, 243, 0.1);
}

.search-section .btn {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.search-section .btn-primary {
    background: #2196F3;
    border: none;
}

.search-section .btn-primary:hover {
    background: #1976D2;
    transform: translateY(-1px);
}

.search-section .btn-secondary {
    background: #6c757d;
    border: none;
}

.search-section .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

/* تحسينات للتجاوب */
@media (max-width: 768px) {
    .service-row {
        padding: 1rem;
    }
    
    .service-content {
        padding-right: 1rem;
    }
    
    .service-title {
        font-size: 1.2rem;
    }
    
    .service-subtitle {
        font-size: 0.9rem;
    }
    
    .service-meta {
        flex-wrap: wrap;
    }
}

.service-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #888;
    font-size: 0.9rem;
}

.service-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.service-meta .btn {
    white-space: nowrap;
    padding: 0.3rem 0.8rem;
    margin-right: auto; /* يدفع الزر إلى أقصى اليسار */
}

.service-category {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #fff;
    background: #6c757d;
    white-space: nowrap;
}

.service-row {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    position: relative;
    display: flex;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.service-content {
    flex: 1;
    padding-left: 140px;
    position: relative; /* لدعم الموضع المطلق للزر */
}

.service-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #888;
    font-size: 0.9rem;
}

.service-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.service-meta .btn {
    position: absolute;
    left: 0;
    bottom: 0;
    white-space: nowrap;
    padding: 0.3rem 0.8rem;
}



/* تنسيقات أزرار الإعجاب والمشاركة */
.article-actions {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    align-items: center;
}

.action-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: white;
    color: #6c757d;
    transition: all 0.3s ease;
    cursor: pointer;
}

.action-button:hover {
    border-color: #2196F3;
    color: #2196F3;
}

.action-button.active {
    background: #2196F3;
    border-color: #2196F3;
    color: white;
}

.action-button i {
    font-size: 1.1rem;
}

.action-count {
    font-weight: 500;
}

/* نافذة المشاركة */
.share-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
}

.share-modal.active {
    display: block;
}

.share-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.share-overlay.active {
    display: block;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.share-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.share-option:hover {
    transform: translateY(-2px);
}

.share-whatsapp { background: #25D366; }
.share-facebook { background: #1877F2; }
.share-twitter { background: #1DA1F2; }
.share-copy { background: #6c757d; }

.share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.share-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6c757d;
    padding: 0.5rem;
}

.share-modal-close:hover {
    color: #dc3545;
}

.news-image-container {
    position: sticky;
    top: 2rem;
    margin-bottom: 2rem;
}

.news-side-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* عدادات التفاعل */
.interaction-stats {
    display: flex;
    gap: 10px;
    position: absolute;
    right: 15px;
    top: 115px;
    font-size: 0.45rem;

}

.interaction-stats .likes {
    color: #dc3545;
    margin-left: 15px;
}

.interaction-stats .shares {
    color: #28a745;
}

.interaction-stats i {
    font-size: 1.5rem;
}

/* عدادات التفاعل */
.interaction-stats {
    font-size: 1.8em;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.interaction-stats .likes {
    color: #dc3545;
    margin-left: 15px;
}

.interaction-stats .shares {
    color: #28a745;
}

.interaction-stats i {
    margin-left: 3px;
}

.card-footer-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

/* شارات التسجيل */
.registration-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    margin: 0 5px;
}

.registration-badge.success {
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
    border: 1px solid #198754;
}

.registration-badge.warning {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    border: 1px solid #ffc107;
}

.registration-section {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background-color: #f8f9fa;
}

.registration-info {
    color: #6c757d;
}

.registration-info p {
    margin-bottom: 0.5rem;
}

.registration-info i {
    width: 20px;
    text-align: center;
}

/* قسم الأخبار */
.news-section {
    padding: 5rem 0;
}

.news-card {
    height: 100%;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.news-card .card-img-top {
    height: 250px;
    object-fit: cover;
}

.news-card .card-body {
    padding: 1.5rem;
}

.news-card .card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-card .card-text {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

/* تحسينات التجاوب لقسم الأخبار */
@media (max-width: 992px) {
    .news-card .card-img-top {
        height: 220px;
    }
    
    .news-card .card-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .news-section {
        padding: 4rem 0;
    }
    
    .news-card {
        margin-bottom: 2rem;
    }
    
    .news-card .card-img-top {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .news-section {
        padding: 3rem 0;
    }
    
    .news-card .card-img-top {
        height: 180px;
    }
    
    .news-card .card-body {
        padding: 1.2rem;
    }
    
    .news-card .card-title {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
}

/* قسم الشركاء */
.partners-section {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.partner-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    margin: 1rem 0;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.partner-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin: 0 auto 1.5rem;
}

.partner-name {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* تحسينات التجاوب لقسم الشركاء */
@media (max-width: 992px) {
    .partners-section {
        padding: 4rem 0;
    }
    
    .partner-logo {
        width: 130px;
        height: 130px;
    }
}

@media (max-width: 768px) {
    .partner-card {
        padding: 1.5rem;
    }
    
    .partner-logo {
        width: 120px;
        height: 120px;
        margin-bottom: 1.2rem;
    }
    
    .partner-name {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .partners-section {
        padding: 3rem 0;
    }
    
    .partner-card {
        padding: 1.2rem;
        margin: 0.8rem 0;
    }
    
    .partner-logo {
        width: 100px;
        height: 100px;
        margin-bottom: 1rem;
    }
    
    .partner-name {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
}

/* قسم مجلس الإدارة */
.council-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.council-swiper {
    padding: 20px 0;
}

.council-card {
    background: var(--white);
    border-radius: 15px;
    padding: 1rem;
    margin: 1rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center; /* مهم: محاذاة العناصر في المركز */
}

.council-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.member-image {
    width: 200px;
    height: 200px;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    border: 5px solid var(--light-bg);
    margin: 0 auto 1.5rem; /* مركزة أفقياً */
    flex-shrink: 0; /* منع الانكماش */
}

.member-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.member-info {
    text-align: center;
    width: 100%;
    padding: 1rem;
}

.member-info h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.member-info .position {
    color: var(--text-color);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.member-info .join-date {
    color: #666;
    font-size: 0.9rem;
}

/* تحسينات للتجاوب */
@media (max-width: 1200px) {
    .member-image {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 992px) {
    .member-image {
        width: 160px;
        height: 160px;
    }
    
    .member-info h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .council-card {
        max-width: 300px;
        margin: 1rem auto;
    }
    
    .member-image {
        width: 140px;
        height: 140px;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .council-section {
        padding: 3rem 0;
    }
    
    .council-card {
        padding: 0.8rem;
        margin: 0.5rem;
        align-items: center; /* تأكيد المحاذاة في المركز */
    }
    
    .member-image {
        width: 160px;
        height: 160px;
        margin: 0 auto 1rem; /* تأكيد المركزة */
    }
    
    .member-info {
        padding: 0.8rem;
        text-align: center; /* تأكيد المحاذاة النصية */
    }
}

/* تخصيص أزرار Swiper */
.council-swiper .swiper-button-next,
.council-swiper .swiper-button-prev {
    color: var(--primary-color);
    background: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: var(--shadow);
}

.council-swiper .swiper-button-next:after,
.council-swiper .swiper-button-prev:after {
    font-size: 1.2rem;
}

.council-swiper .swiper-button-disabled {
    opacity: 0.5;
}

/* تنسيق القائمة المتجاوبة */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 280px;
        padding: 1rem;
        background: rgba(0, 0, 0, 0.8); /* زيادة الشفافية */
        backdrop-filter: blur(10px);
        z-index: 1000;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }

    /* تنسيق الشعار في القائمة المتجاوبة */
    .mobile-menu-logo {
        text-align: center;
        padding: 0.5rem 0;
        margin-bottom: 0.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-menu-logo .mobile-logo {
        max-height: 80px; /* تصغير حجم الشعار */
        width: auto;
        opacity: 0.9;
    }

    .navbar-collapse.show {
        transform: translateX(0);
    }

    .navbar-nav {
        margin-top: 0.5rem;
    }

    .navbar-nav .nav-item {
        margin: 5px 0;
    }

    .navbar-nav .nav-link {
        color: var(--white) !important;
        padding: 0.8rem 1rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        font-weight: 500;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:focus {
        background: rgba(255, 255, 255, 0.1);
        color: #ffffff !important;
    }

    .navbar-nav .active .nav-link {
        background: var(--secondary-color);
        color: #ffffff !important;
    }
}

/* تنسيقات صورة الخدمة */
.service-image {
    width: 120px;
    margin-right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-image img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border: 1px solid #eee;
}

.service-image .btn {
    width: 100%;
    margin-top: auto;
}

.card-body.d-flex {
    align-items: flex-start;
}

.service-content.flex-grow-1 {
    padding-left: 15px;
}

.interaction-stats {
    margin-top: 10px;
}

@media (max-width: 576px) {
    .service-image {
        width: 80px;
    }
    .service-image img {
        height: 80px;
    }
    .service-image .btn {
        font-size: 0.8rem;
        padding: 0.2rem 0.5rem;
    }
}

.card-body.d-flex {
    position: relative;
    padding: 1.5rem;
}

.service-content {
    flex: 1;
    padding-left: 140px;
}

.service-image {
    position: absolute;
    left: 1.5rem;
    top: 1.5rem;
    width: 120px;
}

.service-image img {
    width: 120px;
    height: 100px;
    object-fit: cover;
    border: 1px solid #eee;
}

.btn-read-more {
    position: absolute;
    left: 1.5rem;
    bottom: 1.5rem;
    width: 120px;
}

@media (max-width: 576px) {
    .service-image {
        width: 80px;
        left: 1rem;
    }
    .service-image img {
        width: 80px;
        height: 80px;
    }
    .service-content {
        padding-left: 90px;
    }
    .btn-read-more {
        width: 80px;
        left: 1rem;
        font-size: 0.8rem;
        padding: 0.2rem 0.5rem;
    }
}

.card-body.d-flex {
    position: relative;
    padding: 1.5rem;
    min-height: 200px;
}

.service-content {
    flex: 1;
    padding-left: 140px;
}

.service-image {
    position: absolute;
    left: 15px;
    top: 15px;
    width: 120px;
    height: 100px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-read-more {
    position: absolute;
    left: 15px;
    bottom: 15px;
    width: 120px;
}

/* تنسيقات للشاشات الصغيرة */
@media (max-width: 576px) {
    .service-image {
        width: 80px;
        height: 70px;
    }
    
    .service-content {
        margin-left: 95px;
    }
    
    .btn-read-more {
        width: 80px;
        font-size: 0.8rem;
        padding: 0.2rem 0.5rem;
    }
}

.card {
    position: relative;
    overflow: hidden;
}

.category-ribbon {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}

.ribbon {
    background: #2196F3;
    color: white;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    position: relative;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 0 0 0 12px;
}

.ribbon::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 10px;
    height: 10px;
    background-color: inherit;
    filter: brightness(70%);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.ribbon::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border-left: 8px solid white;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    opacity: 0.3;
}

/* ألوان مختلفة للريبون حسب التصنيف */
.ribbon-1 { background-color: #4CAF50; } /* أخبار */
.ribbon-1::before { border-top: 3px solid #4CAF50; }

.ribbon-2 { background-color: #2196F3; } /* فعاليات */
.ribbon-2::before { border-top: 3px solid #2196F3; }

.ribbon-3 { background-color: #FF9800; } /* إعلانات */
.ribbon-3::before { border-top: 3px solid #FF9800; }

/* تعديل شكل الريبون ليكون مائلاً على المحورين كشريط الحداد */
.category-ribbon {
    position: absolute;
    top: 20px;
    left: -45px;
    width: 170px;
    padding: 0.5rem;
    color: white;
    font-size: 0.9rem;
    z-index: 1;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    text-align: center;
    transform: rotate(-45deg);
}

/* نزيل التأثيرات السابقة التي لم نعد نحتاجها */
.category-ribbon::before,
.category-ribbon::after {
    display: none;
}

/* تنسيقات أزرار الفلتر */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
    justify-content: center;
}

.filter-btn {
    padding: 8px 15px;
    border: none;
    border-radius: 20px;
    color: white;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.filter-btn:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.filter-btn.active {
    opacity: 1;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* تنسيقات العداد */
.filter-btn .count {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    margin-right: 5px;
    font-size: 12px;
}

/* تنسيقات النبذة في صفحة تفاصيل الخدمة */
.summary-text {
    font-size: 1.25rem;
    color: #28a745;
    line-height: 1.6;
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.service-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-top: 2rem;
}

/* تنسيقات صفحة تفاصيل الخدمة */
.service-details {
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
}

.summary-text {
    font-size: 1.25rem;
    color: #28a745;
    line-height: 1.6;
    margin: 1.5rem auto;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    width: 100%;
}

.service-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-top: 2rem;
    width: 100%;
}

/* تحسين العرض على الأجهزة الصغيرة */
@media (max-width: 768px) {
    .service-details {
        padding: 0 10px;
    }

    .summary-text {
        font-size: 1.1rem;
        margin: 1rem auto;
    }

    .service-content {
        font-size: 1rem;
        line-height: 1.6;
    }
}

@media (max-width: 576px) {
    .service-details {
        padding: 0 5px;
    }

    .summary-text {
        font-size: 1rem;
        margin: 0.8rem auto;
    }
}

/* تنسيقات صورة الخبر */
.news-featured-image {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.news-featured-image img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    display: block;
}

/* تحسين العرض على الأجهزة الصغيرة */
@media (max-width: 768px) {
    .news-featured-image {
        margin: 1.5rem auto;
    }
    
    .news-featured-image img {
        max-height: 350px;
    }
}

@media (max-width: 576px) {
    .news-featured-image {
        margin: 1rem auto;
    }
    
    .news-featured-image img {
        max-height: 250px;
    }
}

/* تنسيقات صفحة المقالات */
.articles-section {
    padding: 4rem 0;
}

.article-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 1.5rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.article-meta i {
    margin-left: 0.5rem;
    color: #28a745;
}

.article-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #333;
    line-height: 1.4;
}

.article-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #28a745;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #0d6832;
}

/* تحسينات للأجهزة المحمولة */
@media (max-width: 992px) {
    .article-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .article-content {
        padding: 1.25rem;
    }
    
    .article-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .article-image {
        height: 360px;
    }
    
    .article-content {
        padding: 1rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* تنسيقات صفحة الملف الشخصي */
.profile-header {
    background: linear-gradient(135deg, #28a745 0%, #0d6832 100%);
    padding: 2.5rem 0;
    margin-bottom: 2rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.profile-header-content {
    padding: 1rem;
}

.profile-header-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-left: 1.5rem;
}

.profile-title {
    color: #fff;
    font-size: 2.5rem;
    margin: 0;
    font-weight: 600;
}

.profile-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 2rem;
    margin-top: 0.75rem;
    font-weight: 500;
    display: block;
}

/* تحسينات جدول المراسلات */
.table {
    font-size: 0.95rem;
}

.table thead {
    background-color: #f8f9fa;
}

.table th {
    font-weight: 500;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
}

.table td {
    padding: 1rem;
    vertical-align: middle;
    color: #555;
}

.table tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.message-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.message-status.unread {
    background-color: #e8f5e9;
    color: #28a745;
}

.message-status.read {
    background-color: #f8f9fa;
    color: #6c757d;
}

.message-status.sent {
    background-color: #e8f5e9;
    color: #2e7d32;
}

/* تحسينات للأجهزة المحمولة */
@media (max-width: 768px) {
    .profile-header {
        padding: 1.5rem 0;
    }

    .profile-header-logo {
        width: 60px;
        height: 60px;
        margin-left: 1rem;
    }

    .profile-title {
        font-size: 1.5rem;
    }

    .profile-subtitle {
        font-size: 1rem;
    }

    .table {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .profile-header {
        padding: 1rem 0;
    }

    .profile-header-logo {
        width: 50px;
        height: 50px;
    }

    .profile-title {
        font-size: 1.25rem;
    }

    .table {
        font-size: 0.85rem;
    }

    .message-status {
        padding: 0.2rem 0.5rem;
        font-size: 0.8rem;
    }
}

/* تنسيقات بطاقة المستخدم */
.list-group-item .bi {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.list-group-item:hover .bi {
    transform: scale(1.2);
}

.list-group-item {
    transition: background-color 0.3s ease;
}

.list-group-item:hover {
    background-color: rgba(0, 86, 179, 0.05);
}

.list-group-item span {
    color: #555;
}

/* تنسيقات الباجينيشن */
.pagination {
    gap: 5px;
}

.pagination .page-link {
    border-radius: 5px;
    color: var(--primary-color);
    border: 1px solid #dee2e6;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background-color: rgba(0, 86, 179, 0.05);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.pagination .page-item.active .page-link:hover {
    background-color: var(--primary-color);
    color: white;
}

.service-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.service-card .service-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.service-card .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card .service-content {
    padding: 1.5rem;
}

.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.card-body {
    padding: 0;
    display: flex;
    flex-direction: row;
}

.service-image {
    width: 200px;
    min-width: 200px;
    height: 200px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    padding: 1.5rem;
    flex: 1;
}

.category-ribbon {
    position: absolute;
    top: 1rem;
    left: -10px;
    padding: 0.5rem 1.5rem 0.5rem 1rem;
    color: white;
    font-size: 0.9rem;
    z-index: 1;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.category-ribbon::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 10px;
    height: 10px;
    background-color: inherit;
    filter: brightness(70%);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.category-ribbon::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border-left: 8px solid white;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    opacity: 0.3;
}

/* صور الخدمات في الصفحة الرئيسية */
.service-image-home {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border-radius: 50%;
}

/* صور الخدمات في صفحة الخدمات */
.service-image-page {
    width: 200px;
    height: 200px;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

/* إزالة التنسيقات القديمة التي لم نعد نحتاجها */
.service-image {
    display: block; /* إضافة هذا السطر لضمان ظهور الصور */
}

/* حاوية الصورة في صفحة الخدمات */
.service-image {
    position: relative;
    width: 200px;
    min-width: 200px;
    height: 200px;
    overflow: hidden;
    z-index: 1;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* صور الخدمات في الصفحة الرئيسية */
.service-image-home {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border-radius: 50%;
}

/* تصحيح تنسيقات الصور في صفحتي الخدمات والأخبار */
.service-image {
    position: relative;
    width: 200px;
    min-width: 200px;
    height: 200px;
    overflow: hidden;
    z-index: 1;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .service-image {
        width: 100%;
        height: 180px;
        min-width: auto;
    }
}

/* تنسيقات صور الخدمات */
.card .service-image {
    position: relative;
    width: 200px;
    min-width: 200px;
    height: 200px;
    overflow: hidden;
    z-index: 1;
}

.card .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .card .service-image {
        width: 100%;
        height: 180px;
        min-width: auto;
    }
}

.card-body .service-image {
    position: relative;
    width: 200px;
    min-width: 200px;
    height: 200px;
    overflow: hidden;
    z-index: 1;
}

.card-body .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .card-body .service-image {
        width: 100%;
        height: 180px;
        min-width: auto;
    }
}

.profile-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

/* تنسيقات الصورة الشخصية */
.profile-image-container {
    position: relative;
    width: 120px;
    height: 120px;
    overflow: hidden;
    border-radius: 50%;
    border: 3px solid var(--light);
    box-shadow: var(--shadow);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.change-image-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.change-image-btn:hover {
    transform: scale(1.1);
    background: var(--primary-dark);
    color: var(--white);
}

.list-group-item {
    transition: background-color 0.3s ease;
}

.list-group-item:hover {
    background-color: rgba(0, 0, 0, 0.01);
}

/* ==========================================================================
   صفحة البروفايل - profile.php
   ========================================================================== */

/* القسم الرئيسي للبروفايل */
.profile-section {
    padding: 2rem 0;
    background-color: var(--light-bg);
}

/* بطاقة البروفايل */
.profile-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.profile-card:hover {
    box-shadow: var(--hover-shadow);
}

/* جدول طلبات الاشتراك */
.registrations-table {
    width: 100%;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.registrations-table thead {
    background-color: var(--primary-color);
    color: var(--white);
}

.registrations-table th,
.registrations-table td {
    padding: 1rem;
    text-align: right;
}

.registrations-table tbody tr {
    transition: all 0.3s ease;
}

.registrations-table tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

/* شارات الحالة */
.badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* تحسينات التجاوب */
@media (max-width: 768px) {
    .registrations-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .profile-card {
        padding: 1.5rem;
    }
}

/* ==========================================================================
   تنسيقات كاملة لصفحة البروفايل
   ========================================================================== */

/* القسم الرئيسي للبروفايل */
.profile-section {
    padding: 2rem 0;
    background-color: var(--light-bg);
}

/* بطاقة البروفايل */
.profile-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.profile-card:hover {
    box-shadow: var(--hover-shadow);
}

.profile-card .section-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-right: 15px;
}

.profile-card .section-title::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* جدول طلبات الاشتراك */
.registrations-table {
    width: 100%;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    border-collapse: collapse;
}

.registrations-table thead {
    background-color: var(--primary-color);
}

.registrations-table th {
    color: var(--white);
    font-weight: 500;
    padding: 1.2rem 1rem;
    text-align: right;
}

.registrations-table td {
    padding: 1rem;
    text-align: right;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.registrations-table tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

/* شارات الحالة */
.status-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white);
}

.status-badge.bg-warning {
    background-color: #ffc107;
    color: #000;
}

.status-badge.bg-success {
    background-color: #28a745;
}

.status-badge.bg-danger {
    background-color: #dc3545;
}

/* رسائل فارغة وأخطاء */
.empty-message {
    padding: 2rem !important;
    text-align: center;
    color: #6c757d;
}

.empty-message i {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

.error-message {
    padding: 1rem;
    color: #dc3545;
}

/* الترقيم الصفحي */
.pagination-container {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination .page-item {
    margin: 0 2px;
}

.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.pagination .page-link:hover {
    background-color: var(--primary-color);
    color: white;
}

/* تحسينات التجاوب */
@media (max-width: 768px) {
    .profile-card {
        padding: 1.5rem;
    }
    
    .registrations-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .registrations-table th,
    .registrations-table td {
        padding: 0.75rem;
    }
    
    .status-badge {
        padding: 0.35rem 0.75rem;
        font-size: 0.85rem;
    }
}

/* تنسيقات الجداول في صفحة البروفايل */
.profile-table {
    width: 100%;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.profile-table th {
    background-color: #002147;
    color: #fff;
    padding: 1rem;
    font-weight: 500;
}

.profile-table td {
    padding: 1rem;
    vertical-align: middle;
}

.profile-table .date-cell {
    white-space: nowrap;
}

/* تنسيقات الشارات */
.badge {
    padding: 0.5rem 1rem;
    border-radius: 4px !important;
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
}

.badge.bg-primary {
    background-color: #002147 !important;
}

.badge.bg-info {
    background-color: #00bcd4 !important;
}

.badge.bg-warning {
    background-color: #dc3545 !important;
}

.badge.bg-secondary {
    background-color: #002147 !important;
}

/* تنسيقات الأزرار */
.btn-new-message {
    background-color: #00bcd4 !important;
    color: #fff !important;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.btn-preview {
    background-color: #00bcd4 !important;
    color: #fff !important;
    border: none;
    border-radius: 4px;
}

.edit-profile-btn {
    background-color: #00bcd4 !important;
    color: #fff !important;
}

.edit-profile-btn i {
    color: #fff !important;
}

/* تنسيقات بطاقة المستخدم */
.user-info-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

/* تنسيقات النوافذ المنبثقة */
.modal-header {
    background-color: #002147;
    color: #fff;
    padding: 1rem;
}

.modal-header .modal-title {
    color: #fff;
}

.modal-header .btn-close {
    color: #fff;
    opacity: 1;
}

.modal-footer .btn-primary {
    background-color: #002147;
    border-color: #002147;
}

/* تنسيقات زر الكاميرا */
.profile-image-container {
    position: relative;
    display: inline-block;
}

.camera-icon {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1;
}

/* تنسيقات صفحتي تسجيل الدخول والتسجيل */
.login-section,
.register-section {
    min-height: 100vh;
    background: linear-gradient(120deg, #0d6832 0%, #28a745 100%);
    display: flex;
    align-items: center;
    padding: 3rem 0;
}

.login-section .card,
.register-section .card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.login-section .card-body,
.register-section .card-body {
    padding: 2.5rem;
}

.logo-img {
    max-width: 180px;
    height: auto;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.login-section h2,
.register-section h2 {
    color: #002147;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.login-section .text-muted,
.register-section .text-muted {
    color: #666666 !important;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.login-section .form-label,
.register-section .form-label {
    color: #002147;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.login-section .form-control,
.register-section .form-control,
.register-section .form-select {
    height: 50px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9);
}

.login-section .form-control:focus,
.register-section .form-control:focus,
.register-section .form-select:focus {
    border-color: #00bcd4;
    box-shadow: 0 0 0 0.25rem rgba(0, 188, 212, 0.25);
    background-color: #fff;
}

.login-section .input-group-text,
.register-section .input-group-text {
    background-color: #00bcd4;
    border: none;
    color: #fff;
    border-radius: 10px 0 0 10px;
    width: 50px;
    justify-content: center;
}

.login-section .input-group .form-control,
.register-section .input-group .form-control {
    border-right: 2px solid #e0e0e0;
    border-radius: 0 10px 10px 0;
}

.login-section .btn,
.register-section .btn {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.login-section .btn-primary,
.register-section .btn-primary {
    background: linear-gradient(45deg, #00bcd4, #00e5ff);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
}

.login-section .btn-primary:hover,
.register-section .btn-primary:hover {
    background: linear-gradient(45deg, #00acc1, #00bcd4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.4);
}

.login-section .btn-outline-secondary,
.register-section .btn-outline-secondary {
    border: 2px solid #6c757d;
    color: #6c757d;
}

.login-section .btn-outline-secondary:hover,
.register-section .btn-outline-secondary:hover {
    background-color: #6c757d;
    color: #fff;
    transform: translateY(-2px);
}

.login-section .alert,
.register-section .alert {
    border-radius: 10px;
    padding: 1rem 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    border: none;
}

.login-section .alert-danger,
.register-section .alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-right: 4px solid #dc3545;
}

.login-section .alert-success,
.register-section .alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border-right: 4px solid #28a745;
}

.register-section .row {
    margin: 0 -0.75rem;
}

.register-section .col-md-6 {
    padding: 0 0.75rem;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .login-section .card-body,
    .register-section .card-body {
        padding: 2rem;
    }

    .login-section h2,
    .register-section h2 {
        font-size: 1.8rem;
    }

    .logo-img {
        max-width: 150px;
    }

    .login-section .btn,
    .register-section .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

.login-section,
.register-section {
    min-height: 100vh;
    background: linear-gradient(120deg, #002147 0%, #004d99 100%);
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.login-section .card,
.register-section .card {
    background: rgba(255, 255, 255, 0.98);
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.login-section .card-body,
.register-section .card-body {
    padding: 2.5rem 2rem;
}

.logo-img {
    width: 120px;
    height: auto;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.login-section h2,
.register-section h2 {
    color: #002147;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.login-section .text-muted,
.register-section .text-muted {
    color: #666666 !important;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.login-section .form-label,
.register-section .form-label {
    color: #002147;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.login-section .form-control,
.register-section .form-control,
.register-section .form-select {
    height: 45px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fff;
}

.login-section .input-group-text,
.register-section .input-group-text {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    color: #002147;
    border-radius: 8px 0 0 8px;
    width: 45px;
    justify-content: center;
}

.login-section .input-group .form-control,
.register-section .input-group .form-control {
    border-right: 1px solid #e0e0e0;
    border-radius: 0 8px 8px 0;
}

.login-section .btn,
.register-section .btn {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 0.5rem;
}

.login-section .btn-primary,
.register-section .btn-primary {
    background-color: #002147;
    border-color: #002147;
}

.login-section .btn-primary:hover,
.register-section .btn-primary:hover {
    background-color: #003166;
    border-color: #003166;
    transform: translateY(-1px);
}

.login-section .btn-outline-secondary,
.register-section .btn-outline-secondary {
    border: 1px solid #6c757d;
    color: #6c757d;
    background-color: transparent;
}

.login-section .btn-outline-secondary:hover,
.register-section .btn-outline-secondary:hover {
    background-color: #6c757d;
    color: #fff;
}

.login-section .alert,
.register-section .alert {
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    border: none;
}

.register-section .row {
    margin: 0;
}

.register-section .col-md-6 {
    padding: 0 0.5rem;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .login-section,
    .register-section {
        padding: 1rem;
    }

    .login-section .card,
    .register-section .card {
        margin: 0 1rem;
    }

    .login-section .card-body,
    .register-section .card-body {
        padding: 1.5rem;
    }

    .logo-img {
        width: 100px;
    }
}

.login-section,
.register-section {
    min-height: 100vh;
    background: linear-gradient(120deg, #002147 0%, #004d99 100%);
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.login-section .card,
.register-section .card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.login-section .card-body,
.register-section .card-body {
    padding: 2.5rem;
}

.logo-img {
    max-width: 180px;
    height: auto;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.login-section h2,
.register-section h2 {
    color: #002147;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.login-section .text-muted,
.register-section .text-muted {
    color: #666 !important;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.login-section .form-label,
.register-section .form-label {
    color: #002147;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.login-section .form-control,
.register-section .form-control,
.register-section .form-select {
    height: 50px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9);
}

.login-section .form-control:focus,
.register-section .form-control:focus,
.register-section .form-select:focus {
    border-color: #00bcd4;
    box-shadow: 0 0 0 0.25rem rgba(0, 188, 212, 0.25);
    background-color: #fff;
}

.login-section .input-group-text,
.register-section .input-group-text {
    background-color: #00bcd4;
    border: none;
    color: #fff;
    border-radius: 10px 0 0 10px;
    width: 50px;
    justify-content: center;
}

.login-section .input-group .form-control,
.register-section .input-group .form-control {
    border-right: 2px solid #e0e0e0;
    border-radius: 0 10px 10px 0;
}

.login-section .btn,
.register-section .btn {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.login-section .btn-primary,
.register-section .btn-primary {
    background: linear-gradient(45deg, #00bcd4, #00e5ff);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
}

.login-section .btn-primary:hover,
.register-section .btn-primary:hover {
    background: linear-gradient(45deg, #00acc1, #00bcd4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.4);
}

.login-section .btn-outline-secondary,
.register-section .btn-outline-secondary {
    border: 2px solid #6c757d;
    color: #6c757d;
}

.login-section .btn-outline-secondary:hover,
.register-section .btn-outline-secondary:hover {
    background-color: #6c757d;
    color: #fff;
    transform: translateY(-2px);
}

.login-section .alert,
.register-section .alert {
    border-radius: 10px;
    padding: 1rem 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    border: none;
}

.login-section .alert-danger,
.register-section .alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-right: 4px solid #dc3545;
}

.login-section .alert-success,
.register-section .alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border-right: 4px solid #28a745;
}

.register-section .row {
    margin: 0 -0.75rem;
}

.register-section .col-md-6 {
    padding: 0 0.75rem;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .login-section .card-body,
    .register-section .card-body {
        padding: 2rem;
    }

    .login-section h2,
    .register-section h2 {
        font-size: 1.8rem;
    }

    .logo-img {
        max-width: 150px;
    }

    .login-section .btn,
    .register-section .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

.login-section,
.register-section {
    min-height: 100vh;
    background: linear-gradient(120deg, #002147 0%, #004d99 100%);
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.login-section .card,
.register-section .card {
    background: rgba(255, 255, 255, 0.98);
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.login-section .card-body,
.register-section .card-body {
    padding: 2.5rem 2rem;
}

.logo-img {
    width: 120px;
    height: auto;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.login-section h2,
.register-section h2 {
    color: #002147;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.login-section .text-muted,
.register-section .text-muted {
    color: #666 !important;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.login-section .form-label,
.register-section .form-label {
    color: #002147;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.login-section .form-control,
.register-section .form-control,
.register-section .form-select {
    height: 45px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fff;
}

.login-section .input-group-text,
.register-section .input-group-text {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    color: #002147;
    border-radius: 8px 0 0 8px;
    width: 45px;
    justify-content: center;
}

.login-section .input-group .form-control,
.register-section .input-group .form-control {
    border-right: 1px solid #e0e0e0;
    border-radius: 0 8px 8px 0;
}

.login-section .btn,
.register-section .btn {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 0.5rem;
}

.login-section .btn-primary,
.register-section .btn-primary {
    background-color: #002147;
    border-color: #002147;
}

.login-section .btn-primary:hover,
.register-section .btn-primary:hover {
    background-color: #003166;
    border-color: #003166;
    transform: translateY(-1px);
}

.login-section .btn-outline-secondary,
.register-section .btn-outline-secondary {
    border: 1px solid #6c757d;
    color: #6c757d;
    background-color: transparent;
}

.login-section .btn-outline-secondary:hover,
.register-section .btn-outline-secondary:hover {
    background-color: #6c757d;
    color: #fff;
}

.login-section .alert,
.register-section .alert {
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    border: none;
}

.register-section .row {
    margin: 0;
}

.register-section .col-md-6 {
    padding: 0 0.5rem;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .login-section,
    .register-section {
        padding: 1rem;
    }

    .login-section .card,
    .register-section .card {
        margin: 0 1rem;
    }

    .login-section .card-body,
    .register-section .card-body {
        padding: 1.5rem;
    }

    .logo-img {
        width: 100px;
    }
}

.login-section,
.register-section {
    min-height: 100vh;
    background: linear-gradient(120deg, #002147 0%, #004d99 100%);
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.login-section .card,
.register-section .card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.login-section .card-body,
.register-section .card-body {
    padding: 2.5rem;
}

.logo-img {
    max-width: 180px;
    height: auto;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.login-section h2,
.register-section h2 {
    color: #002147;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.login-section .text-muted,
.register-section .text-muted {
    color: #666 !important;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.login-section .form-label,
.register-section .form-label {
    color: #002147;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.login-section .form-control,
.register-section .form-control,
.register-section .form-select {
    height: 50px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9);
}

.login-section .form-control:focus,
.register-section .form-control:focus,
.register-section .form-select:focus {
    border-color: #00bcd4;
    box-shadow: 0 0 0 0.25rem rgba(0, 188, 212, 0.25);
    background-color: #fff;
}

.login-section .input-group-text,
.register-section .input-group-text {
    background-color: #00bcd4;
    border: none;
    color: #fff;
    border-radius: 10px 0 0 10px;
    width: 50px;
    justify-content: center;
}

.login-section .input-group .form-control,
.register-section .input-group .form-control {
    border-right: 2px solid #e0e0e0;
    border-radius: 0 10px 10px 0;
}

.login-section .btn,
.register-section .btn {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.login-section .btn-primary,
.register-section .btn-primary {
    background: linear-gradient(45deg, #00bcd4, #00e5ff);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
}

.login-section .btn-primary:hover,
.register-section .btn-primary:hover {
    background: linear-gradient(45deg, #00acc1, #00bcd4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.4);
}

.login-section .btn-outline-secondary,
.register-section .btn-outline-secondary {
    border: 2px solid #6c757d;
    color: #6c757d;
}

.login-section .btn-outline-secondary:hover,
.register-section .btn-outline-secondary:hover {
    background-color: #6c757d;
    color: #fff;
    transform: translateY(-2px);
}

.login-section .alert,
.register-section .alert {
    border-radius: 10px;
    padding: 1rem 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    border: none;
}

.login-section .alert-danger,
.register-section .alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-right: 4px solid #dc3545;
}

.login-section .alert-success,
.register-section .alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border-right: 4px solid #28a745;
}

.register-section .row {
    margin: 0 -0.75rem;
}

.register-section .col-md-6 {
    padding: 0 0.75rem;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .login-section .card-body,
    .register-section .card-body {
        padding: 2rem;
    }

    .login-section h2,
    .register-section h2 {
        font-size: 1.8rem;
    }

    .logo-img {
        max-width: 150px;
    }

    .login-section .btn,
    .register-section .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

.login-section,
.register-section {
    min-height: 100vh;
    background: linear-gradient(120deg, #002147 0%, #004d99 100%);
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.login-section .card,
.register-section .card {
    background: rgba(255, 255, 255, 0.98);
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.login-section .card-body,
.register-section .card-body {
    padding: 2.5rem 2rem;
}

.logo-img {
    width: 120px;
    height: auto;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.login-section h2,
.register-section h2 {
    color: #002147;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.login-section .text-muted,
.register-section .text-muted {
    color: #666 !important;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.login-section .form-label,
.register-section .form-label {
    color: #002147;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.login-section .form-control,
.register-section .form-control,
.register-section .form-select {
    height: 45px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fff;
}

.login-section .input-group-text,
.register-section .input-group-text {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    color: #002147;
    border-radius: 8px 0 0 8px;
    width: 45px;
    justify-content: center;
}

.login-section .input-group .form-control,
.register-section .input-group .form-control {
    border-right: 1px solid #e0e0e0;
    border-radius: 0 8px 8px 0;
}

.login-section .btn,
.register-section .btn {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 0.5rem;
}

.login-section .btn-primary,
.register-section .btn-primary {
    background-color: #002147;
    border-color: #002147;
}

.login-section .btn-primary:hover,
.register-section .btn-primary:hover {
    background-color: #003166;
    border-color: #003166;
    transform: translateY(-1px);
}

.login-section .btn-outline-secondary,
.register-section .btn-outline-secondary {
    border: 1px solid #6c757d;
    color: #6c757d;
    background-color: transparent;
}

.login-section .btn-outline-secondary:hover,
.register-section .btn-outline-secondary:hover {
    background-color: #6c757d;
    color: #fff;
}

.login-section .alert,
.register-section .alert {
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    border: none;
}

.register-section .row {
    margin: 0;
}

.register-section .col-md-6 {
    padding: 0 0.5rem;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .login-section,
    .register-section {
        padding: 1rem;
    }

    .login-section .card,
    .register-section .card {
        margin: 0 1rem;
    }

    .login-section .card-body,
    .register-section .card-body {
        padding: 1.5rem;
    }

    .logo-img {
        width: 100px;
    }
}

.login-section,
.register-section {
    min-height: 100vh;
    background: linear-gradient(120deg, #002147 0%, #004d99 100%);
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.login-section .card,
.register-section .card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.login-section .card-body,
.register-section .card-body {
    padding: 2.5rem;
}

.logo-img {
    max-width: 180px;
    height: auto;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.login-section h2,
.register-section h2 {
    color: #002147;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.login-section .text-muted,
.register-section .text-muted {
    color: #666 !important;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.login-section .form-label,
.register-section .form-label {
    color: #002147;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.login-section .form-control,
.register-section .form-control,
.register-section .form-select {
    height: 50px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9);
}

.login-section .form-control:focus,
.register-section .form-control:focus,
.register-section .form-select:focus {
    border-color: #00bcd4;
    box-shadow: 0 0 0 0.25rem rgba(0, 188, 212, 0.25);
    background-color: #fff;
}

.login-section .input-group-text,
.register-section .input-group-text {
    background-color: #00bcd4;
    border: none;
    color: #fff;
    border-radius: 10px 0 0 10px;
    width: 50px;
    justify-content: center;
}

.login-section .input-group .form-control,
.register-section .input-group .form-control {
    border-right: 2px solid #e0e0e0;
    border-radius: 0 10px 10px 0;
}

.login-section .btn,
.register-section .btn {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.login-section .btn-primary,
.register-section .btn-primary {
    background: linear-gradient(45deg, #00bcd4, #00e5ff);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
}

.login-section .btn-primary:hover,
.register-section .btn-primary:hover {
    background: linear-gradient(45deg, #00acc1, #00bcd4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.4);
}

.login-section .btn-outline-secondary,
.register-section .btn-outline-secondary {
    border: 2px solid #6c757d;
    color: #6c757d;
}

.login-section .btn-outline-secondary:hover,
.register-section .btn-outline-secondary:hover {
    background-color: #6c757d;
    color: #fff;
    transform: translateY(-2px);
}

.login-section .alert,
.register-section .alert {
    border-radius: 10px;
    padding: 1rem 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    border: none;
}

.login-section .alert-danger,
.register-section .alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-right: 4px solid #dc3545;
}

.login-section .alert-success,
.register-section .alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border-right: 4px solid #28a745;
}

.register-section .row {
    margin: 0 -0.75rem;
}

.register-section .col-md-6 {
    padding: 0 0.75rem;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .login-section .card-body,
    .register-section .card-body {
        padding: 2rem;
    }

    .login-section h2,
    .register-section h2 {
        font-size: 1.8rem;
    }

    .logo-img {
        max-width: 150px;
    }

    .login-section .btn,
    .register-section .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

.login-section,
.register-section {
    min-height: 100vh;
    background: linear-gradient(120deg, #002147 0%, #004d99 100%);
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.login-section .card,
.register-section .card {
    background: rgba(255, 255, 255, 0.98);
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.login-section .card-body,
.register-section .card-body {
    padding: 2.5rem 2rem;
}

.logo-img {
    width: 120px;
    height: auto;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.login-section h2,
.register-section h2 {
    color: #002147;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.login-section .text-muted,
.register-section .text-muted {
    color: #666 !important;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.login-section .form-label,
.register-section .form-label {
    color: #002147;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.login-section .form-control,
.register-section .form-control,
.register-section .form-select {
    height: 45px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fff;
}

.login-section .input-group-text,
.register-section .input-group-text {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    color: #002147;
    border-radius: 8px 0 0 8px;
    width: 45px;
    justify-content: center;
}

.login-section .input-group .form-control,
.register-section .input-group .form-control {
    border-right: 1px solid #e0e0e0;
    border-radius: 0 8px 8px 0;
}

.login-section .btn,
.register-section .btn {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 0.5rem;
}

.login-section .btn-primary,
.register-section .btn-primary {
    background-color: #002147;
    border-color: #002147;
}

.login-section .btn-primary:hover,
.register-section .btn-primary:hover {
    background-color: #003166;
    border-color: #003166;
    transform: translateY(-1px);
}

.login-section .btn-outline-secondary,
.register-section .btn-outline-secondary {
    border: 1px solid #6c757d;
    color: #6c757d;
    background-color: transparent;
}

.login-section .btn-outline-secondary:hover,
.register-section .btn-outline-secondary:hover {
    background-color: #6c757d;
    color: #fff;
}

.login-section .alert,
.register-section .alert {
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    border: none;
}

.register-section .row {
    margin: 0;
}

.register-section .col-md-6 {
    padding: 0 0.5rem;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .login-section,
    .register-section {
        padding: 1rem;
    }

    .login-section .card,
    .register-section .card {
        margin: 0 1rem;
    }

    .login-section .card-body,
    .register-section .card-body {
        padding: 1.5rem;
    }

    .logo-img {
        width: 100px;
    }
}

.login-section,
.register-section {
    min-height: 100vh;
    background: linear-gradient(120deg, #002147 0%, #004d99 100%);
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.login-section .card,
.register-section .card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.login-section .card-body,
.register-section .card-body {
    padding: 2.5rem;
}

.logo-img {
    max-width: 180px;
    height: auto;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.login-section h2,
.register-section h2 {
    color: #002147;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.login-section .text-muted,
.register-section .text-muted {
    color: #666 !important;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.login-section .form-label,
.register-section .form-label {
    color: #002147;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.login-section .form-control,
.register-section .form-control,
.register-section .form-select {
    height: 50px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9);
}

.login-section .form-control:focus,
.register-section .form-control:focus,
.register-section .form-select:focus {
    border-color: #00bcd4;
    box-shadow: 0 0 0 0.25rem rgba(0, 188, 212, 0.25);
    background-color: #fff;
}

.login-section .input-group-text,
.register-section .input-group-text {
    background-color: #00bcd4;
    border: none;
    color: #fff;
    border-radius: 10px 0 0 10px;
    width: 50px;
    justify-content: center;
}

.login-section .input-group .form-control,
.register-section .input-group .form-control {
    border-right: 2px solid #e0e0e0;
    border-radius: 0 10px 10px 0;
}

.login-section .btn,
.register-section .btn {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.login-section .btn-primary,
.register-section .btn-primary {
    background: linear-gradient(45deg, #00bcd4, #00e5ff);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
}

.login-section .btn-primary:hover,
.register-section .btn-primary:hover {
    background: linear-gradient(45deg, #00acc1, #00bcd4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.4);
}

.login-section .btn-outline-secondary,
.register-section .btn-outline-secondary {
    border: 2px solid #6c757d;
    color: #6c757d;
}

.login-section .btn-outline-secondary:hover,
.register-section .btn-outline-secondary:hover {
    background-color: #6c757d;
    color: #fff;
    transform: translateY(-2px);
}

.login-section .alert,
.register-section .alert {
    border-radius: 10px;
    padding: 1rem 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    border: none;
}

.login-section .alert-danger,
.register-section .alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-right: 4px solid #dc3545;
}

.login-section .alert-success,
.register-section .alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border-right: 4px solid #28a745;
}

.register-section .row {
    margin: 0 -0.75rem;
}

.register-section .col-md-6 {
    padding: 0 0.75rem;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .login-section .card-body,
    .register-section .card-body {
        padding: 2rem;
    }

    .login-section h2,
    .register-section h2 {
        font-size: 1.8rem;
    }

    .logo-img {
        max-width: 150px;
    }

    .login-section .btn,
    .register-section .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

.login-section,
.register-section {
    min-height: 100vh;
    background: linear-gradient(120deg, #002147 0%, #004d99 100%);
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.login-section .card,
.register-section .card {
    background: rgba(255, 255, 255, 0.98);
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.login-section .card-body,
.register-section .card-body {
    padding: 2.5rem 2rem;
}

.logo-img {
    width: 120px;
    height: auto;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.login-section h2,
.register-section h2 {
    color: #002147;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.login-section .text-muted,
.register-section .text-muted {
    color: #666 !important;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.login-section .form-label,
.register-section .form-label {
    color: #002147;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.login-section .form-control,
.register-section .form-control,
.register-section .form-select {
    height: 45px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fff;
}

.login-section .input-group-text,
.register-section .input-group-text {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    color: #002147;
    border-radius: 8px 0 0 8px;
    width: 45px;
    justify-content: center;
}

.login-section .input-group .form-control,
.register-section .input-group .form-control {
    border-right: 1px solid #e0e0e0;
    border-radius: 0 8px 8px 0;
}

.login-section .btn,
.register-section .btn {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 0.5rem;
}

.login-section .btn-primary,
.register-section .btn-primary {
    background-color: #002147;
    border-color: #002147;
}

.login-section .btn-primary:hover,
.register-section .btn-primary:hover {
    background-color: #003166;
    border-color: #003166;
    transform: translateY(-1px);
}

.login-section .btn-outline-secondary,
.register-section .btn-outline-secondary {
    border: 1px solid #6c757d;
    color: #6c757d;
    background-color: transparent;
}

.login-section .btn-outline-secondary:hover,
.register-section .btn-outline-secondary:hover {
    background-color: #6c757d;
    color: #fff;
}

.login-section .alert,
.register-section .alert {
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    border: none;
}

.register-section .row {
    margin: 0;
}

.register-section .col-md-6 {
    padding: 0 0.5rem;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .login-section,
    .register-section {
        padding: 1rem;
    }

    .login-section .card,
    .register-section .card {
        margin: 0 1rem;
    }

    .login-section .card-body,
    .register-section .card-body {
        padding: 1.5rem;
    }

    .logo-img {
        width: 100px;
    }
}

.login-section,
.register-section {
    min-height: 100vh;
    background: linear-gradient(120deg, #002147 0%, #004d99 100%);
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.login-section .card,
.register-section .card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.login-section .card-body,
.register-section .card-body {
    padding: 2.5rem;
}

.logo-img {
    max-width: 180px;
    height: auto;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.login-section h2,
.register-section h2 {
    color: #002147;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.login-section .text-muted,
.register-section .text-muted {
    color: #666 !important;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.login-section .form-label,
.register-section .form-label {
    color: #002147;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.login-section .form-control,
.register-section .form-control,
.register-section .form-select {
    height: 50px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9);
}

.login-section .form-control:focus,
.register-section .form-control:focus,
.register-section .form-select:focus {
    border-color: #00bcd4;
    box-shadow: 0 0 0 0.25rem rgba(0, 188, 212, 0.25);
    background-color: #fff;
}

.login-section .input-group-text,
.register-section .input-group-text {
    background-color: #00bcd4;
    border: none;
    color: #fff;
    border-radius: 10px 0 0 10px;
    width: 50px;
    justify-content: center;
}

.login-section .input-group .form-control,
.register-section .input-group .form-control {
    border-right: 2px solid #e0e0e0;
    border-radius: 0 10px 10px 0;
}

.login-section .btn,
.register-section .btn {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.login-section .btn-primary,
.register-section .btn-primary {
    background: linear-gradient(45deg, #00bcd4, #00e5ff);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
}

.login-section .btn-primary:hover,
.register-section .btn-primary:hover {
    background: linear-gradient(45deg, #00acc1, #00bcd4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.4);
}

.login-section .btn-outline-secondary,
.register-section .btn-outline-secondary {
    border: 2px solid #6c757d;
    color: #6c757d;
}

.login-section .btn-outline-secondary:hover,
.register-section .btn-outline-secondary:hover {
    background-color: #6c757d;
    color: #fff;
    transform: translateY(-2px);
}

.login-section .alert,
.register-section .alert {
    border-radius: 10px;
    padding: 1rem 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    border: none;
}

.login-section .alert-danger,
.register-section .alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-right: 4px solid #dc3545;
}

.login-section .alert-success,
.register-section .alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border-right: 4px solid #28a745;
}

.register-section .row {
    margin: 0 -0.75rem;
}

.register-section .col-md-6 {
    padding: 0 0.75rem;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .login-section .card-body,
    .register-section .card-body {
        padding: 2rem;
    }

    .login-section h2,
    .register-section h2 {
        font-size: 1.8rem;
    }

    .logo-img {
        max-width: 150px;
    }

    .login-section .btn,
    .register-section .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

.login-section,
.register-section {
    min-height: 100vh;
    background: linear-gradient(120deg, #002147 0%, #004d99 100%);
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.login-section .card,
.register-section .card {
    background: rgba(255, 255, 255, 0.98);
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.login-section .card-body,
.register-section .card-body {
    padding: 2.5rem 2rem;
}

.logo-img {
    width: 120px;
    height: auto;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.login-section h2,
.register-section h2 {
    color: #002147;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.login-section .text-muted,
.register-section .text-muted {
    color: #666 !important;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.login-section .form-label,
.register-section .form-label {
    color: #002147;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.login-section .form-control,
.register-section .form-control,
.register-section .form-select {
    height: 45px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fff;
}

.login-section .input-group-text,
.register-section .input-group-text {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    color: #002147;
    border-radius: 8px 0 0 8px;
    width: 45px;
    justify-content: center;
}

.login-section .input-group .form-control,
.register-section .input-group .form-control {
    border-right: 1px solid #e0e0e0;
    border-radius: 0 8px 8px 0;
}

.login-section .btn,
.register-section .btn {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 0.5rem;
}

.login-section .btn-primary,
.register-section .btn-primary {
    background-color: #002147;
    border-color: #002147;
}

.login-section .btn-primary:hover,
.register-section .btn-primary:hover {
    background-color: #003166;
    border-color: #003166;
    transform: translateY(-1px);
}

.login-section .btn-outline-secondary,
.register-section .btn-outline-secondary {
    border: 1px solid #6c757d;
    color: #6c757d;
    background-color: transparent;
}

.login-section .btn-outline-secondary:hover,
.register-section .btn-outline-secondary:hover {
    background-color: #6c757d;
    color: #fff;
}

.login-section .alert,
.register-section .alert {
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    border: none;
}

.register-section .row {
    margin: 0;
}

.register-section .col-md-6 {
    padding: 0 0.5rem;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .login-section,
    .register-section {
        padding: 1rem;
    }

    .login-section .card,
    .register-section .card {
        margin: 0 1rem;
    }

    .login-section .card-body,
    .register-section .card-body {
        padding: 1.5rem;
    }

    .logo-img {
        width: 100px;
    }
}

.login-section,
.register-section {
    min-height: 100vh;
    background: linear-gradient(120deg, #002147 0%, #004d99 100%);
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.login-section .card,
.register-section .card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.login-section .card-body,
.register-section .card-body {
    padding: 2.5rem;
}

.logo-img {
    max-width: 180px;
    height: auto;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.login-section h2,
.register-section h2 {
    color: #002147;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.login-section .text-muted,
.register-section .text-muted {
    color: #666 !important;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.login-section .form-label,
.register-section .form-label {
    color: #002147;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.login-section .form-control,
.register-section .form-control,
.register-section .form-select {
    height: 50px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9);
}

.login-section .form-control:focus,
.register-section .form-control:focus,
.register-section .form-select:focus {
    border-color: #00bcd4;
    box-shadow: 0 0 0 0.25rem rgba(0, 188, 212, 0.25);
    background-color: #fff;
}

.login-section .input-group-text,
.register-section .input-group-text {
    background-color: #00bcd4;
    border: none;
    color: #fff;
    border-radius: 10px 0 0 10px;
    width: 50px;
    justify-content: center;
}

.login-section .input-group .form-control,
.register-section .input-group .form-control {
    border-right: 2px solid #e0e0e0;
    border-radius: 0 10px 10px 0;
}

.login-section .btn,
.register-section .btn {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.login-section .btn-primary,
.register-section .btn-primary {
    background: linear-gradient(45deg, #00bcd4, #00e5ff);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
}

.login-section .btn-primary:hover,
.register-section .btn-primary:hover {
    background: linear-gradient(45deg, #00acc1, #00bcd4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.4);
}

.login-section .btn-outline-secondary,
.register-section .btn-outline-secondary {
    border: 2px solid #6c757d;
    color: #6c757d;
}

.login-section .btn-outline-secondary:hover,
.register-section .btn-outline-secondary:hover {
    background-color: #6c757d;
    color: #fff;
    transform: translateY(-2px);
}

.login-section .alert,
.register-section .alert {
    border-radius: 10px;
    padding: 1rem 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    border: none;
}

.login-section .alert-danger,
.register-section .alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-right: 4px solid #dc3545;
}

.login-section .alert-success,
.register-section .alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border-right: 4px solid #28a745;
}

.register-section .row {
    margin: 0 -0.75rem;
}

.register-section .col-md-6 {
    padding: 0 0.75rem;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .login-section .card-body,
    .register-section .card-body {
        padding: 2rem;
    }

    .login-section h2,
    .register-section h2 {
        font-size: 1.8rem;
    }

    .logo-img {
        max-width: 150px;
    }

    .login-section .btn,
    .register-section .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

.login-section,
.register-section {
    min-height: 100vh;
    background: linear-gradient(120deg, #002147 0%, #004d99 100%);
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.login-section .card,
.register-section .card {
    background: rgba(255, 255, 255, 0.98);
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.login-section .card-body,
.register-section .card-body {
    padding: 2.5rem 2rem;
}

.logo-img {
    width: 120px;
    height: auto;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.login-section h2,
.register-section h2 {
    color: #002147;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.login-section .text-muted,
.register-section .text-muted {
    color: #666 !important;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.login-section .form-label,
.register-section .form-label {
    color: #002147;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.login-section .form-control,
.register-section .form-control,
.register-section .form-select {
    height: 45px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fff;
}

.login-section .input-group-text,
.register-section .input-group-text {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    color: #002147;
    border-radius: 8px 0 0 8px;
    width: 45px;
    justify-content: center;
}

.login-section .input-group .form-control,
.register-section .input-group .form-control {
    border-right: 1px solid #e0e0e0;
    border-radius: 0 8px 8px 0;
}

.login-section .btn,
.register-section .btn {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 0.5rem;
}

.login-section .btn-primary,
.register-section .btn-primary {
    background-color: #002147;
    border-color: #002147;
}

.login-section .btn-primary:hover,
.register-section .btn-primary:hover {
    background-color: #003166;
    border-color: #003166;
    transform: translateY(-1px);
}

.login-section .btn-outline-secondary,
.register-section .btn-outline-secondary {
    border: 1px solid #6c757d;
    color: #6c757d;
    background-color: transparent;
}

.login-section .btn-outline-secondary:hover,
.register-section .btn-outline-secondary:hover {
    background-color: #6c757d;
    color: #fff;
}

.login-section .alert,
.register-section .alert {
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    border: none;
}

.register-section .row {
    margin: 0;
}

.register-section .col-md-6 {
    padding: 0 0.5rem;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .login-section,
    .register-section {
        padding: 1rem;
    }

    .login-section .card,
    .register-section .card {
        margin: 0 1rem;
    }

    .login-section .card-body,
    .register-section .card-body {
        padding: 1.5rem;
    }

    .logo-img {
        width: 100px;
    }
}

.login-section,
.register-section {
    min-height: 100vh;
    background: linear-gradient(120deg, #002147 0%, #004d99 100%);
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.login-section .card,
.register-section .card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.login-section .card-body,
.register-section .card-body {
    padding: 2.5rem;
}

.logo-img {
    max-width: 180px;
    height: auto;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.login-section h2,
.register-section h2 {
    color: #002147;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.login-section .text-muted,
.register-section .text-muted {
    color: #666 !important;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.login-section .form-label,
.register-section .form-label {
    color: #002147;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.login-section .form-control,
.register-section .form-control,
.register-section .form-select {
    height: 50px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9);
}

.login-section .form-control:focus,
.register-section .form-control:focus,
.register-section .form-select:focus {
    border-color: #00bcd4;
    box-shadow: 0 0 0 0.25rem rgba(0, 188, 212, 0.25);
    background-color: #fff;
}

.login-section .input-group-text,
.register-section .input-group-text {
    background-color: #00bcd4;
    border: none;
    color: #fff;
    border-radius: 10px 0 0 10px;
    width: 50px;
    justify-content: center;
}

.login-section .input-group .form-control,
.register-section .input-group .form-control {
    border-right: 2px solid #e0e0e0;
    border-radius: 0 10px 10px 0;
}

.login-section .btn,
.register-section .btn {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.login-section .btn-primary,
.register-section .btn-primary {
    background: linear-gradient(45deg, #00bcd4, #00e5ff);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
}

.login-section .btn-primary:hover,
.register-section .btn-primary:hover {
    background: linear-gradient(45deg, #00acc1, #00bcd4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.4);
}

.login-section .btn-outline-secondary,
.register-section .btn-outline-secondary {
    border: 2px solid #6c757d;
    color: #6c757d;
}

.login-section .btn-outline-secondary:hover,
.register-section .btn-outline-secondary:hover {
    background-color: #6c757d;
    color: #fff;
    transform: translateY(-2px);
}

.login-section .alert,
.register-section .alert {
    border-radius: 10px;
    padding: 1rem 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    border: none;
}

.login-section .alert-danger,
.register-section .alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-right: 4px solid #dc3545;
}

.login-section .alert-success,
.register-section .alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border-right: 4px solid #28a745;
}

.register-section .row {
    margin: 0 -0.75rem;
}

.register-section .col-md-6 {
    padding: 0 0.75rem;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .login-section .card-body,
    .register-section .card-body {
        padding: 2rem;
    }

    .login-section h2,
    .register-section h2 {
        font-size: 1.8rem;
    }

    .logo-img {
        max-width: 150px;
    }

    .login-section .btn,
    .register-section .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

.login-section,
.register-section {
    min-height: 100vh;
    background: linear-gradient(120deg, #002147 0%, #004d99 100%);
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.login-section .card,
.register-section .card {
    background: rgba(255, 255, 255, 0.98);
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.login-section .card-body,
.register-section .card-body {
    padding: 2.5rem 2rem;
}

.logo-img {
    width: 120px;
    height: auto;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.login-section h2,
.register-section h2 {
    color: #002147;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.login-section .text-muted,
.register-section .text-muted {
    color: #666 !important;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.login-section .form-label,
.register-section .form-label {
    color: #002147;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.login-section .form-control,
.register-section .form-control,
.register-section .form-select {
    height: 45px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fff;
}

.login-section .input-group-text,
.register-section .input-group-text {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    color: #002147;
    border-radius: 8px 0 0 8px;
    width: 45px;
    justify-content: center;
}

.login-section .input-group .form-control,
.register-section .input-group .form-control {
    border-right: 1px solid #e0e0e0;
    border-radius: 0 8px 8px 0;
}

.login-section .btn,
.register-section .btn {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 0.5rem;
}

.login-section .btn-primary,
.register-section .btn-primary {
    background-color: #002147;
    border-color: #002147;
}

.login-section .btn-primary:hover,
.register-section .btn-primary:hover {
    background-color: #003166;
    border-color: #003166;
    transform: translateY(-1px);
}

.login-section .btn-outline-secondary,
.register-section .btn-outline-secondary {
    border: 1px solid #6c757d;
    color: #6c757d;
    background-color: transparent;
}

.login-section .btn-outline-secondary:hover,
.register-section .btn-outline-secondary:hover {
    background-color: #6c757d;
    color: #fff;
}

.login-section .alert,
.register-section .alert {
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    border: none;
}

.register-section .row {
    margin: 0;
}

.register-section .col-md-6 {
    padding: 0 0.5rem;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .login-section,
    .register-section {
        padding: 1rem;
    }

    .login-section .card,
    .register-section .card {
        margin: 0 1rem;
    }

    .login-section .card-body,
    .register-section .card-body {
        padding: 1.5rem;
    }

    .logo-img {
        width: 100px;
    }
}

.login-section,
.register-section {
    min-height: 100vh;
    background: linear-gradient(120deg, #002147 0%, #004d99 100%);
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.login-section .card,
.register-section .card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.login-section .card-body,
.register-section .card-body {
    padding: 2.5rem;
}

.logo-img {
    max-width: 180px;
    height: auto;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.login-section h2,
.register-section h2 {
    color: #002147;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.login-section .text-muted,
.register-section .text-muted {
    color: #666 !important;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.login-section .form-label,
.register-section .form-label {
    color: #002147;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.login-section .form-control,
.register-section .form-control,
.register-section .form-select {
    height: 50px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9);
}

.login-section .form-control:focus,
.register-section .form-control:focus,
.register-section .form-select:focus {
    border-color: #00bcd4;
    box-shadow: 0 0 0 0.25rem rgba(0, 188, 212, 0.25);
    background-color: #fff;
}

.login-section .input-group-text,
.register-section .input-group-text {
    background-color: #00bcd4;
    border: none;
    color: #fff;
    border-radius: 10px 0 0 10px;
    width: 50px;
    justify-content: center;
}

.login-section .input-group .form-control,
.register-section .input-group .form-control {
    border-right: 2px solid #e0e0e0;
    border-radius: 0 10px 10px 0;
}

.login-section .btn,
.register-section .btn {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.login-section .btn-primary,
.register-section .btn-primary {
    background: linear-gradient(45deg, #00bcd4, #00e5ff);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
}

.login-section .btn-primary:hover,
.register-section .btn-primary:hover {
    background: linear-gradient(45deg, #00acc1, #00bcd4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.4);
}

.login-section .btn-outline-secondary,
.register-section .btn-outline-secondary {
    border: 2px solid #6c757d;
    color: #6c757d;
}

.login-section .btn-outline-secondary:hover,
.register-section .btn-outline-secondary:hover {
    background-color: #6c757d;
    color: #fff;
    transform: translateY(-2px);
}

.login-section .alert,
.register-section .alert {
    border-radius: 10px;
    padding: 1rem 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    border: none;
}

.login-section .alert-danger,
.register-section .alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-right: 4px solid #dc3545;
}

.login-section .alert-success,
.register-section .alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border-right: 4px solid #28a745;
}

.register-section .row {
    margin: 0 -0.75rem;
}

.register-section .col-md-6 {
    padding: 0 0.75rem;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .login-section .card-body,
    .register-section .card-body {
        padding: 2rem;
    }

    .login-section h2,
    .register-section h2 {
        font-size: 1.8rem;
    }

    .logo-img {
        max-width: 150px;
    }

    .login-section .btn,
    .register-section .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

.login-section,
.register-section {
    min-height: 100vh;
    background: linear-gradient(120deg, #002147 0%, #004d99 100%);
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.login-section .card,
.register-section .card {
    background: rgba(255, 255, 255, 0.98);
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.login-section .card-body,
.register-section .card-body {
    padding: 2.5rem 2rem;
}

.logo-img {
    width: 120px;
    height: auto;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.login-section h2,
.register-section h2 {
    color: #002147;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.login-section .text-muted,
.register-section .text-muted {
    color: #666 !important;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.login-section .form-label,
.register-section .form-label {
    color: #002147;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.login-section .form-control,
.register-section .form-control,
.register-section .form-select {
    height: 45px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fff;
}

.login-section .input-group-text,
.register-section .input-group-text {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    color: #002147;
    border-radius: 8px 0 0 8px;
    width: 45px;
    justify-content: center;
}

.login-section .input-group .form-control,
.register-section .input-group .form-control {
    border-right: 1px solid #e0e0e0;
    border-radius: 0 8px 8px 0;
}

.login-section .btn,
.register-section .btn {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 0.5rem;
}

.login-section .btn-primary,
.register-section .btn-primary {
    background-color: #002147;
    border-color: #002147;
}

.login-section .btn-primary:hover,
.register-section .btn-primary:hover {
    background-color: #003166;
    border-color: #003166;
    transform: translateY(-1px);
}

.login-section .btn-outline-secondary,
.register-section .btn-outline-secondary {
    border: 1px solid #6c757d;
    color: #6c757d;
    background-color: transparent;
}

.login-section .btn-outline-secondary:hover,
.register-section .btn-outline-secondary:hover {
    background-color: #6c757d;
    color: #fff;
}

.login-section .alert,
.register-section .alert {
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    border: none;
}

.register-section .row {
    margin: 0;
}

.register-section .col-md-6 {
    padding: 0 0.5rem;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .login-section,
    .register-section {
        padding: 1rem;
    }

    .login-section .card,
    .register-section .card {
        margin: 0 1rem;
    }

    .login-section .card-body,
    .register-section .card-body {
        padding: 1.5rem;
    }

    .logo-img {
        width: 100px;
    }
}

.login-section,
.register-section {
    min-height: 100vh;
    background: linear-gradient(120deg, #002147 0%, #004d99 100%);
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.login-section .card,
.register-section .card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.login-section .card-body,
.register-section .card-body {
    padding: 2.5rem;
}

.logo-img {
    max-width: 180px;
    height: auto;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.login-section h2,
.register-section h2 {
    color: #002147;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.login-section .text-muted,
.register-section .text-muted {
    color: #666 !important;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.login-section .form-label,
.register-section .form-label {
    color: #002147;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.login-section .form-control,
.register-section .form-control,
.register-section .form-select {
    height: 50px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9);
}

.login-section .form-control:focus,
.register-section .form-control:focus,
.register-section .form-select:focus {
    border-color: #00bcd4;
    box-shadow: 0 0 0 0.25rem rgba(0, 188, 212, 0.25);
    background-color: #fff;
}

.login-section .input-group-text,
.register-section .input-group-text {
    background-color: #00bcd4;
    border: none;
    color: #fff;
    border-radius: 10px 0 0 10px;
    width: 50px;
    justify-content: center;
}

.login-section .input-group .form-control,
.register-section .input-group .form-control {
    border-right: 2px solid #e0e0e0;
    border-radius: 0 10px 10px 0;
}

.login-section .btn,
.register-section .btn {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.login-section .btn-primary,
.register-section .btn-primary {
    background: linear-gradient(45deg, #00bcd4, #00e5ff);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
}

.login-section .btn-primary:hover,
.register-section .btn-primary:hover {
    background: linear-gradient(45deg, #00acc1, #00bcd4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.4);
}

.login-section .btn-outline-secondary,
.register-section .btn-outline-secondary {
    border: 2px solid #6c757d;
    color: #6c757d;
}

.login-section .btn-outline-secondary:hover,
.register-section .btn-outline-secondary:hover {
    background-color: #6c757d;
    color: #fff;
    transform: translateY(-2px);
}

.login-section .alert,
.register-section .alert {
    border-radius: 10px;
    padding: 1rem 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    border: none;
}

.login-section .alert-danger,
.register-section .alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-right: 4px solid #dc3545;
}

.login-section .alert-success,
.register-section .alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border-right: 4px solid #28a745;
}

.register-section .row {
    margin: 0 -0.75rem;
}

.register-section .col-md-6 {
    padding: 0 0.75rem;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .login-section .card-body,
    .register-section .card-body {
        padding: 2rem;
    }

    .login-section h2,
    .register-section h2 {
        font-size: 1.8rem;
    }

    .logo-img {
        max-width: 150px;
    }

    .login-section .btn,
    .register-section .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

.login-section,
.register-section {
    min-height: 100vh;
    background: linear-gradient(120deg, #002147 0%, #004d99 100%);
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.login-section .card,
.register-section .card {
    background: rgba(255, 255, 255, 0.98);
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.login-section .card-body,
.register-section .card-body {
    padding: 2.5rem 2rem;
}

.logo-img {
    width: 120px;
    height: auto;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.login-section h2,
.register-section h2 {
    color: #002147;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}
.statistic-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.statistic-card .icon-wrapper i {
    font-size: 2.5rem;
    color: #ffffff;
}

.statistic-card .counter {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffffff;
}

.statistic-card .title {
    color: #ffffff;
    margin-top: 0.5rem;
}
/* 2.4 قسم الأخبار */
.news-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.news-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
    
}

.news-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image-container img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 33, 71, 0.9);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.news-content {
    padding: 1.5rem;
}

.news-content h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-content p {
    color: var(--text-color);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.news-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #eee;
}

.btn-read-more {
    display: inline-block;
    color: gray;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    background: #002147;
}

.btn-read-more:hover {
    color: white;
}

.btn-read-more::after {
    
    margin-right: 5px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.btn-read-more:hover::after {
    transform: translateX(-5px);
}
/* ==========================================================================
   3. لوحة التحكم - dashboard.php
   ========================================================================== */

.sidebar {
    height: 100vh;
    background: linear-gradient(135deg, #002147 0%, #004d99 100%);
    padding-top: 20px;
    border-radius: 15px;
}

.nav-link {
    color: #fff;
    padding: 7px 15px;
}

.nav-link:hover {
    background-color: #495057;
    color: #fff;
}

.nav-link.active {
    background-color: transparent;
}

.profile-section {
    text-align: center;
    padding: 20px;
    color: white;
    background:none;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 10px;
    object-fit: cover;
}

#previewImage {
    max-width: 250px;
    max-height: 250px;
    margin-top: 10px;
}

.password-input-group {
    position: relative;
}

.toggle-password {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
}
/* تنسيقات عامة للوحة التحكم */
.welcome-card {
    background: linear-gradient(135deg, #002147 0%, #004d99 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.welcome-card h2 {
    margin-bottom: 1rem;
    font-weight: 500;
}

.welcome-card p {
    margin: 0;
    opacity: 0.9;
}
/* تنسيقات الإحصائيات في لوحة التحكم */
.dashboard-stats {
    padding: 20px 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
}

.stat-box {
    background: white;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.stat-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: 15px;
}

.stat-icon i {
    font-size: 24px;
    color: white;
}

.stat-info {
    flex: 1;
}

.stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

/* تنسيقات للشاشات المختلفة */
@media (min-width: 1200px) {
    .stats-container {
        grid-template-columns: repeat(10, 1fr);
    }
}

@media (max-width: 1199px) {
    .stats-container {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 991px) {
    .stats-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .stats-container {
        grid-template-columns: 1fr;
    }
}
.ad-title {
    font-size: 2.5rem;
    line-height: 1.3;
}

.meta-info .date-badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: green;
    border-radius: 4px;
    border: 1px solid green;
}

.meta-info .date-badge,
.meta-info .date-badge span,
.meta-info .date-badge i {
    color: green !important;
}

.meta-info .date-badge i {
    margin-left: 6px;
}
.news-content-wrapper {
    overflow: hidden; /* لمنع تداخل العناصر */
}

.news-float-image {
    float: left;
    max-width: 350px; /* أو الحجم الذي تريده */
    margin: 0 0 15px 15px; /* هامش من اليسار والأسفل */
    border-radius: 8px;
}

@media (max-width: 768px) {
    .news-float-image {
        float: none;
        max-width: 100%;
        margin: 0 0 15px 0;
    }
}
.related-ad-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-ad-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.related-ad-card a {
    color: inherit;
}

.related-ad-image {
    width: 120px;
    height: 80px;
    margin-left: 15px;
}

.related-ad-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.related-ad-content {
    flex: 1;
    padding: 8px 0;
}

.related-ad-date {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.related-ad-date i {
    margin-left: 5px;
}

.related-ad-title {
    font-size: 1rem;
    margin: 0;
    line-height: 1.4;
    color: #333;
}

.related-ad-card:hover .related-ad-title {
    color: #dc3545;
}
.contact-info {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-top: 20px;
}

.contact-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.contact-list i {
    margin-left: 10px;
    font-size: 1.2rem;
}

.contact-list strong {
    margin-left: 5px;
    color: #666;
}

.contact-list a:hover {
    color: #dc3545;
}
.related-ads {
    background-color: #f8f9fa;
    position: sticky;
    top: 20px;
}

.related-ad-card {
    transition: all 0.3s ease;
}

.related-ad-card:hover {
    transform: translateX(-5px);
}

.related-ad-card .related-ad-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.related-ad-content {
    margin-right: 15px;
}

.related-ad-date {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 5px;
}

.related-ad-title {
    font-size: 1rem;
    color: #333;
    margin: 0;
}