:root {
    --primary-blue: #1e40af;
    --primary-dark: #1e3a8a;
    --secondary-teal: #0f766e;
    --accent-amber: #d97706;
    --light-bg: #f8fafc;
    --dark-bg: #1e293b;
    --gray-text: #64748b;
    --success-green: #059669;
    --danger-red: #dc2626;
    --transition: all 0.3s ease;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #2d3748, #1a202c);
    color: var(--light-bg);
    overflow-x: hidden;
    line-height: 1.7;
    direction: ltr;
    text-align: left;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(30, 64, 175, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(15, 118, 110, 0.05) 0%, transparent 30%);
    z-index: -1;
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Bar */
.nav-main {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-main {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon-main {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-teal) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(30, 64, 175, 0.3);
}

.logo-icon-main i {
    font-size: 1.8rem;
    color: white;
}

.logo-text-main {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.5px;
}

.nav-links-main {
    display: flex;
    list-style: none;
    gap: 10px;
}

.nav-links-main li {
    position: relative;
}

.nav-links-main a {
    text-decoration: none;
    color: var(--light-bg);
    font-weight: 500;
    font-size: 1rem;
    padding: 10px 18px;
    border-radius: 8px;
    transition: var(--transition);
    display: block;
}

.nav-links-main a:hover {
    color: var(--accent-amber);
    background: rgba(217, 119, 6, 0.1);
}

.nav-btn-main {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-teal) 100%);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(30, 64, 175, 0.3);
}

.nav-btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.4);
}

/* Global Header Section */
/* Global Header Section */
.header-global {
    position: relative;
   padding: 10px 0 10px;
    text-align: center;
    overflow: hidden;
    width: 100%;
    margin-top:-60px;
}

.header-global::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;      /* عرض العنصر بالكامل */
    height: 100%;
    background: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center center / cover no-repeat;
    opacity: 0.08;
    z-index: -1;
}
.header-global h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: white;
}

.header-global p {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #cbd5e1;
}

.stats-global {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.stat-item-global {
    text-align: center;
}

.stat-number-global {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-amber);
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.stat-label-global {
    font-size: 1.1rem;
    color: #94a3b8;
}

/* حركة بسيطة عند العد */
@keyframes countUp {
    0% { 
        transform: scale(0.8);
        opacity: 0.7;
    }
    50% { 
        transform: scale(1.1);
    }
    100% { 
        transform: scale(1);
        opacity: 1;
    }
}

.stat-number-global.counting {
    animation: countUp 0.5s ease-out;
}
/* International Network Section */
.section-network {
    padding: 100px 0;
    background: rgba(15, 23, 42, 0.7);
    position: relative;
}

.section-header-main {
    text-align: center;
    margin-bottom: 70px;
}

.section-header-main h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: white;
}

.section-header-main p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    color: #cbd5e1;
}

.grid-network {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card-network {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.card-network::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-teal));
}

.card-network:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.icon-network {
    width: 80px;
    height: 80px;
    background: rgba(30, 64, 175, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.5rem;
    color: var(--primary-blue);
    transition: var(--transition);
}

.card-network:hover .icon-network {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-teal) 100%);
    color: white;
    transform: rotate(10deg);
}

.card-network h3 {
    font-size: 1.7rem;
    margin-bottom: 20px;
    color: white;
}

.card-network p {
    color: #94a3b8;
    line-height: 1.8;
}

/* Global Standards Section */
.section-standards {
    padding: 100px 0;
    background: rgba(15, 23, 42, 0.7);
}

.grid-standards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card-standard {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.card-standard::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-amber));
}

.card-standard:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.icon-standard {
    width: 70px;
    height: 70px;
    background: rgba(30, 64, 175, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2rem;
    color: var(--primary-blue);
    transition: var(--transition);
}

.card-standard:hover .icon-standard {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-teal) 100%);
    color: white;
    transform: scale(1.1);
}

.card-standard h3 {
    font-size: 1.7rem;
    margin-bottom: 20px;
    color: white;
}

.card-standard p {
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 25px;
}

.link-standard {
    color: var(--accent-amber);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.link-standard:hover {
    color: var(--primary-blue);
    gap: 12px;
}

/* Global Partners Section */
.section-partners {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1), rgba(15, 118, 110, 0.1));
}

.grid-partners {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.card-partner {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 30px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    height: 120px;
}

.card-partner:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.logo-partner {
    max-width: 150px;
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.card-partner:hover .logo-partner {
    filter: grayscale(0%);
    opacity: 1;
}

/* Language Switcher */
.language-switcher-main {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}
.language-link {
color:white;
    
}
.language-btn-main {
    background: rgba(15, 23, 42, 0.9);
    color: white;
    border: 1px solid rgba(30, 64, 175, 0.3);
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    font-weight: 500;
}

.language-btn-main:hover {
    background: white;/* rgba(30, 64, 175, 0.7);*/
    transform: translateY(-2px);
}

/* Cookie Consent Banner Styles */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(30, 64, 175, 0.3);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    gap: 30px;
}

.cookie-text {
    flex: 1;
}

.cookie-text h4 {
    color: var(--accent-amber);
    margin-bottom: 8px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-text h4 i {
    color: var(--accent-amber);
}

.cookie-text p {
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.cookie-text a {
    color: var(--accent-amber);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.cookie-text a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.cookie-btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-teal) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.cookie-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(30, 64, 175, 0.4);
}

.cookie-btn-link {
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateY(-2px);
}

.cookie-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
    text-align: center;
}

.cookie-powered-by {
    color: #94a3b8;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cookie-powered-by i {
    color: var(--primary-blue);
}

/* Animation Effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated-main {
    animation: fadeInUp 0.8s ease forwards;
}

/* Loading Animation */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--gray-light);
    border-top: 4px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* تنسيقات لافتة الكوكيز العربية */
.cookie-consent-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 100%);
    color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    max-width: 450px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Tahoma', 'Arial', sans-serif;
}

[dir="rtl"] .cookie-consent-banner {
    left: 20px;
    right: auto;
}

.cookie-container {
    padding: 0;
}

.cookie-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.cookie-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.cookie-header h4 i {
    margin-left: 8px;
    color: #f59e0b;
}

[dir="rtl"] .cookie-header h4 i {
    margin-left: 0;
    margin-right: 8px;
}

.cookie-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cookie-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.cookie-content {
    padding: 20px;
}

.cookie-text {
    margin-bottom: 20px;
}

.cookie-text p {
    margin: 0 0 15px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #e5e7eb;
}

.cookie-text a {
    color: #60a5fa;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cookie-text a:hover {
    color: #93c5fd;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

[dir="rtl"] .cookie-actions {
    flex-direction: row-reverse;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

[dir="rtl"] .cookie-btn {
    flex-direction: row-reverse;
}

.cookie-btn-primary {
    background: #10b981;
    color: white;
}

.cookie-btn-primary:hover {
    background: #059669;
    transform: translateY(-2px);
}

.cookie-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.cookie-btn-link {
    background: transparent;
    color: #e5e7eb;
    padding: 8px 12px;
}

.cookie-btn-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.cookie-footer {
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.cookie-powered-by {
    font-size: 12px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

[dir="rtl"] .cookie-powered-by {
    flex-direction: row-reverse;
}

.cookie-powered-by i {
    color: #10b981;
}

/* تأثيرات الظهور */
.cookie-consent-banner.show {
    animation: slideInUp 0.5s ease-out;
}

.cookie-consent-banner.hide {
    animation: slideOutDown 0.5s ease-in;
}

@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOutDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100px);
        opacity: 0;
    }
}

/* التجاوب مع الشاشات الصغيرة */
@media (max-width: 768px) {
    .cookie-consent-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: none;
    }
    
    .cookie-actions {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        justify-content: center;
    }
    
    [dir="rtl"] .cookie-actions {
        flex-direction: column;
    }
}

/* حالة الإخفاء */
.cookie-consent-banner.hidden {
    display: none !important;
}

/* تنسيقات الفوتر */
.main-footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #e2e8f0;
    padding: 50px 0 20px;
    margin-top: 80px;
    border-top: 1px solid #334155;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3.footer-title {
    color: #f8fafc;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
}

.footer-section h3.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #10b981;
}

[dir="rtl"] .footer-section h3.footer-title::after {
    left: auto;
    right: 0;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 20px;
    color: #94a3b8;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-section ul li a:hover {
    color: #10b981;
}

.footer-section ul li a::before {
    content: '›';
    margin-right: 8px;
    color: #10b981;
    transition: transform 0.3s ease;
}

[dir="rtl"] .footer-section ul li a::before {
    margin-right: 0;
    margin-left: 8px;
}

.footer-section ul li a:hover::before {
    transform: translateX(3px);
}

[dir="rtl"] .footer-section ul li a:hover::before {
    transform: translateX(-3px);
}

/* روابط التواصل الاجتماعي */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: #10b981;
    color: white;
    transform: translateY(-2px);
    border-color: #10b981;
}

/* معلومات الاتصال */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-icon {
    width: 36px;
    height: 36px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    flex-shrink: 0;
}

.contact-item span {
    color: #cbd5e1;
    font-size: 14px;
}

/* حقوق النشر */
.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #334155;
    color: #94a3b8;
    font-size: 14px;
}

.copyright p {
    margin: 0;
}

/* التجاوب مع الشاشات الصغيرة */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-section h3.footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    [dir="rtl"] .footer-section h3.footer-title::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-item {
        justify-content: center;
    }
}

/* تأثيرات للغة العربية */
[dir="rtl"] .footer-section ul li a {
    flex-direction: row-reverse;
}

[dir="rtl"] .contact-item {
    flex-direction: row-reverse;
}


.tp-language-dropdown {
    max-height: 300px;
    overflow-y: auto;
}

.tp-language-dropdown::-webkit-scrollbar {
    width: 6px;
}

.tp-language-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.tp-language-dropdown::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.tp-language-dropdown::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* للحفاظ على التصميم الحالي مع المحتوى الجديد */
.partner-flag {
    font-size: 3rem;
    margin-bottom: 15px;
}

.partner-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.partner-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #10b981;
    margin-bottom: 15px;
    background: #f0fdf4;
    padding: 10px 15px;
    border-radius: 8px;
    display: inline-block;
}

.card-partner h3 {
    margin: 10px 0;
    font-size: 1.2rem;
}

.card-partner p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* الحفاظ على التصميم الأصلي */
.grid-partners {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.card-partner {
    /*background: white;*/
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-partner:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

#mira-fullscreen-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999; /* أعلى العناصر */
}

.mira-loader-spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #007BFF;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}

#mira-fullscreen-loader p {
    color: white;
    font-size: 1.1rem;
    text-align: center;
}

.data-source-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    display: inline-block;
    margin: 2px;
}

.data-source-green {
    background: #e8f5e8;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.data-source-blue {
    background: #e3f2fd;
    color: #1565c0;
    border: 1px solid #bbdefb;
}

.data-source-orange {
    background: #fff3e0;
    color: #ef6c00;
    border: 1px solid #ffe0b2;
}

.mira-status-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 10px 0;
}
/* ألوان مصادر البيانات */
.data-source-green {
    background: #e8f5e8 !important;
    color: #2e7d32 !important;
    border: 1px solid #c8e6c9 !important;
}

.data-source-blue {
    background: #e3f2fd !important;
    color: #1565c0 !important;
    border: 1px solid #bbdefb !important;
}

.data-source-orange {
    background: #fff3e0 !important;
    color: #ef6c00 !important;
    border: 1px solid #ffe0b2 !important;
}

.data-source-purple {
    background: #f3e5f5 !important;
    color: #7b1fa2 !important;
    border: 1px solid #e1bee7 !important;
}

.data-source-red {
    background: #ffebee !important;
    color: #c62828 !important;
    border: 1px solid #ffcdd2 !important;
}

.data-source-gray {
    background: #f5f5f5 !important;
    color: #616161 !important;
    border: 1px solid #e0e0e0 !important;
}

.data-source-darkgreen {
    background: #e8f5e8 !important;
    color: #1b5e20 !important;
    border: 1px solid #c8e6c9 !important;
}

.data-source-teal {
    background: #e0f2f1 !important;
    color: #00695c !important;
    border: 1px solid #b2dfdb !important;
}

.data-source-brown {
    background: #efebe9 !important;
    color: #4e342e !important;
    border: 1px solid #d7ccc8 !important;
}

.data-source-badge {
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin: 1px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* تنسيق إشعار حقوق الملكية */
.copyright-notice {
    margin-top: 8px;
    padding: 6px 10px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    font-size: 11px;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 5px;
}

.copyright-notice i {
    color: #495057;
}

/* تنسيق بادج المصدر */
.data-source-badge {
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin: 1px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.data-source-green {
    background: #e8f5e8 !important;
    color: #2e7d32 !important;
    border: 1px solid #c8e6c9 !important;
}

.data-source-blue {
    background: #e3f2fd !important;
    color: #1565c0 !important;
    border: 1px solid #bbdefb !important;
}

.data-source-orange {
    background: #fff3e0 !important;
    color: #ef6c00 !important;
    border: 1px solid #ffe0b2 !important;
}

