/* منع تظليل النصوص في كامل الموقع ما عدا حقول الإدخال 
body {
    -webkit-user-select: none; 
    -moz-user-select: none;    
    -ms-user-select: none;     
    user-select: none;        
}
*/
/* استثناء حقول الإدخال والبحث ليتمكن المستخدم من الكتابة بحرية 
input, textarea, select {
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
}
*/
/* منع سحب الصور (Drag & Drop) */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    /* تصعيب حفظ الصورة عبر الهواتف (تعطيل القائمة المنبثقة عند الضغط المطول) */
    -webkit-touch-callout: none; 
}
/* ===== [تنسيقات الفوتر مشابه لـ "افلامك"] ===== */
:root {
    --primary-blue: #002B5B;
    --light-blue: #256D85;
    --accent-blue: #2B7DC3;
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --gold: #d97706;
    --accent: #f59e0b;
    --accent-2: #fbbf24;
    --footer-dark: #0A0A0A;
    --footer-darker: #050505;
    --footer-light: #f8f8f8;
    --footer-gray: #1E1E1E;
    --footer-text-secondary: #b3b3b3;
    --footer-text-muted: #b1b1b1;
    
    --footer-radius: 8px;
    --footer-shadow: 0 4px 20px rgba(0,0,0,0.3);
    --footer-transition: all 0.3s ease;
    
    /* ألوان وسائل التواصل الاجتماعي */
    --whatsapp: #075e54;
    --youtube: #FF0000;
    --telegram: #24a1de;
    --facebook: #1877F2;
    --discord: #7289da;
    --twitter: #181818;
    --instagram: #E1306C;
}

/* === [الهيكل الأساسي - Mobile First] === */
footer {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    color: var(--footer-light);
    padding: 40px 0 0;
    font-family: 'Tajawal', sans-serif;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(37, 99, 235, 0.15);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary) 50%, 
        transparent 100%);
    opacity: 0.7;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 30px;
    position: relative;
}

/* === [تأثيرات الزخرفة] === */
.footer-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 1px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
}

/* === [أعمدة الفوتر] === */
.footer-column {
    position: relative;
    z-index: 1;
    padding: 20px;
    border-radius: var(--footer-radius);
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: var(--footer-transition);
    box-shadow: var(--footer-shadow);
    text-align: center;
}

.footer-column:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border-color: rgba(37, 99, 235, 0.2);
}

.footer-column h3 {
    color: var(--gold);
    font-size: clamp(1.2rem, 4vw, 1.4rem);
    margin-bottom: 15px;
    padding-bottom: 8px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.footer-column:hover h3::after {
    width: 70px;
}

.footer-column p {
    color: var(--footer-text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

/* === [تصميم أزرار التواصل الاجتماعي الجديدة] === */
.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
    justify-content: center;
}

/* تصميم أزرار التواصل الاجتماعي المخصصة */
.social-Btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: transparent;
    position: relative;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.social-Btn .svgContainer {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    backdrop-filter: blur(0px);
    letter-spacing: 0.8px;
    border-radius: 10px;
    transition: all 0.3s;
    border: 1px solid rgba(156, 156, 156, 0.466);
}

.social-Btn .BG {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    border-radius: 10px;
    z-index: -1;
    pointer-events: none;
    transition: all 0.3s;
}

.social-Btn:hover .BG {
    transform: rotate(35deg);
    transform-origin: bottom;
}

.social-Btn:hover .svgContainer {
    border: 1px solid rgba(230, 230, 230, 0.466);
    background-color: rgba(204, 204, 204, 0.466);
    backdrop-filter: blur(4px);
}

/* ألوان خاصة لكل شبكة اجتماعية */
.social-Btn.whatsapp .BG { background: var(--whatsapp); }
.social-Btn.youtube .BG { background: var(--youtube); }
.social-Btn.telegram .BG { background: var(--telegram); }
.social-Btn.facebook .BG { background: var(--facebook); }
.social-Btn.discord .BG { background: var(--discord); }
.social-Btn.twitter .BG { background: var(--twitter); }
.social-Btn.instagram .BG { background: var(--instagram); }

.social-Btn .svgContainer svg {
    width: 1.4em;
    height: 1.4em;
    fill: white;
}

.social-Btn .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* تأثيرات إضافية للأزرار */
.social-Btn:hover {
    transform: scale(1.1);
}

/* === [شارات الجودة] === */
.footer-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.footer-badge {
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--footer-transition);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.footer-badge:hover {
    background: rgba(37, 99, 235, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.footer-badge__icon {
    color: peru;
    font-size: 0.85rem;
}

/* === [روابط الفوتر] === */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.footer-links__item {
    transition: var(--footer-transition);
}

.footer-links__link {
    color: #e0e0e0;
    font-size: 0.9rem;
    transition: var(--footer-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    text-decoration: none;
}

.footer-links__link:hover {
    color: var(--gold);
    text-decoration: none;
    background: rgba(37, 99, 235, 0.1);
}

.footer-links__icon {
    font-size: 0.85em;
    color: white;
    transition: transform 0.3s ease;
}

.footer-links__link:hover .footer-links__icon {
    transform: rotate(-8deg);
}

/* === [حقوق النشر] === */
.footer-copyright {
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
    position: relative;
    background: rgba(44, 44, 44, 0.7);
}

.footer-copyright::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(37, 99, 235, 0.3) 30%, 
        rgba(37, 99, 235, 0.6) 50%, 
        rgba(37, 99, 235, 0.3) 70%, 
        transparent 100%);
}

.footer-copyright__text {
    color: var(--footer-text-muted);
    font-size: 0.85rem;
    position: relative;
    display: inline-block;
}

.footer-copyright__text::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.footer-copyright__text:hover::after {
    width: 100%;
}

/* === [نافذة ملفات تعريف الارتباط - تصميم مبسط] === */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: white;
    color: #333;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: none;
    animation: slideUp 0.4s ease-out;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid #e0e0e0;
}

.cookie-consent.active {
    display: block;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 5px;
}

.cookie-icon {
    font-size: 1.5rem;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.cookie-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: var(--primary-blue);
    flex-grow: 1;
}

.cookie-close {
    background: none;
    border: none;
    color: #666;
    font-size: 1.3rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.cookie-close:hover {
    background: #f5f5f5;
    color: #333;
}

.cookie-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
    margin: 0;
}

.cookie-text a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.cookie-text a:hover {
    color: var(--accent-blue);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 16px;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    font-family: 'Tajawal', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    min-height: 48px; /* 👈 أضف هذا السطر */
    display: flex; /* 👈 لضمان توسط النص */
    align-items: center; /* 👈 لضمان توسط النص */
    justify-content: center; /* 👈 لضمان توسط النص */
}

.cookie-btn.accept {
    background: var(--primary-blue);
    color: white;
}

.cookie-btn.accept:hover {
    background: var(--light-blue);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(37, 109, 133, 0.3);
}

.cookie-btn.settings {
    background: white;
    color: var(--primary-blue);
    border: 1px solid var(--primary-blue);
}

.cookie-btn.settings:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

/* نافذة الإعدادات المبسطة */
.cookie-settings {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    width: 90%;
    max-width: 500px;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    overflow: hidden;
}

.cookie-settings.active {
    display: block;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { 
        opacity: 0; 
        transform: translate(-50%, -60%); 
    }
    to { 
        opacity: 1; 
        transform: translate(-50%, -50%); 
    }
}

.settings-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    padding: 20px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.settings-title {
    font-size: 1.2rem;
    margin: 0;
    font-weight: 700;
}

.settings-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.settings-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.settings-content {
    padding: 25px;
}

.settings-description {
    color: #555;
    line-height: 1.5;
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-align: center;
}

.settings-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.setting-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.setting-option:hover {
    background: #f1f3f5;
}

.option-label {
    flex: 1;
}

.option-title {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.option-desc {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.4;
}

.option-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
    margin-right: 10px;
}

.option-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.option-toggle input:checked + .toggle-slider {
    background: var(--primary-blue);
}

.option-toggle input:checked + .toggle-slider:before {
    transform: translateX(20px);
}

.option-toggle input:disabled + .toggle-slider {
    background: #8bc34a;
    cursor: not-allowed;
}

.option-toggle input:disabled + .toggle-slider:before {
    background: #f8f8f8;
}

.settings-footer {
    padding: 20px 25px 25px;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    border-top: 1px solid #e9ecef;
}

.save-settings {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Tajawal', sans-serif;
    font-size: 0.9rem;
}

.save-settings:hover {
    background: var(--light-blue);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(37, 109, 133, 0.3);
}

/* تظليل الخلفية */
.cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 9998;
    display: none;
}

.cookie-overlay.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* === [تأثيرات الحركة] === */
@keyframes footerFadeIn {
    from { 
        opacity: 0; 
        transform: translateY(15px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.footer-column {
    animation: footerFadeIn 0.5s ease-out forwards;
}

/* === [وسائط الاستجابة - Tablet] === */
@media (min-width: 768px) {
    footer {
        padding: 50px 0 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        padding: 0 25px 35px;
    }
    
    .footer-column {
        text-align: right;
        padding: 25px;
    }
    
    .footer-column h3::after {
        left: auto;
        right: 0;
        transform: none;
    }
    
    .footer-column p {
        text-align: right;
    }
    
    .footer-social {
        justify-content: flex-start;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: right;
    }
    
    .footer-links__link {
        justify-content: flex-start;
    }
    
    .footer-badges {
        justify-content: flex-start;
    }
    
    /* نافذة ملفات تعريف الارتفاع للتابلت */
    .cookie-consent {
        left: 40px;
        right: 40px;
        padding: 25px;
    }
    
    .cookie-content {
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }
    
    .cookie-text {
        flex: 1;
        margin: 0;
        text-align: right;
    }
    
    .cookie-actions {
        flex: 0 0 auto;
        flex-wrap: nowrap;
    }
    
    .cookie-btn {
        padding: 10px 24px;
    }
}

/* === [وسائط الاستجابة - Desktop] === */
@media (min-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 40px;
        padding: 0 30px 40px;
    }
    
    .footer-column {
        padding: 30px;
    }
    
    .social-Btn {
        width: 42px;
        height: 42px;
    }
    
    .social-Btn .svgContainer svg {
        width: 1.3em;
        height: 1.3em;
    }
    
    .footer-badge {
        padding: 8px 18px;
        font-size: 0.85rem;
    }
    
    /* نافذة ملفات تعريف الارتباط للديسكتوب */
    .cookie-consent {
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        width: calc(100% - 80px);
        max-width: 850px;
    }
    
    .cookie-text {
        font-size: 0.95rem;
    }
}

/* === [تحسينات الهواتف الصغيرة] === */
@media (max-width: 480px) {
    .footer-content {
        padding: 0 15px 25px;
        gap: 20px;
    }
    
    .footer-column {
        padding: 18px 15px;
        margin: 0 2px;
    }
    
    .footer-social {
        gap: 10px;
        margin: 15px 0;
    }
    
    .social-Btn {
        width: 40px;
        height: 40px;
    }
    
    .social-Btn .svgContainer svg {
        width: 1.2em;
        height: 1.2em;
    }
    
    .footer-badges {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .footer-badge {
        width: 80%;
        justify-content: center;
        padding: 5px 12px;
    }
    
    .footer-links__link {
        padding: 6px 10px;
        font-size: 0.85rem;
    }
    
    .footer-copyright {
        padding: 15px 0;
    }
    
    /* نافذة ملفات تعريف الارتباط للهواتف */
    .cookie-consent {
        left: 15px;
        right: 15px;
        bottom: 15px;
        padding: 18px;
    }
    
    .cookie-header {
        margin-bottom: 10px;
    }
    
    .cookie-actions {
        justify-content: space-between;
        gap: 8px;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: auto;
        padding: 10px 15px;
    }
    
    .settings-content {
        padding: 20px;
    }
    
    .setting-option {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .option-toggle {
        align-self: flex-end;
    }
}

/* === [تحسينات الأداء والوصول] === */
@media (hover: none) {
    .footer-column:hover,
    .social-Btn:hover,
    .footer-badge:hover,
    .cookie-btn:hover,
    .setting-option:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-column,
    .social-Btn,
    .footer-badge,
    .footer-links__item,
    .footer-links__link,
    .cookie-consent,
    .cookie-btn,
    .cookie-settings {
        transition: none;
        animation: none;
    }
}

/* ===== [الأزرار العائمة الجديدة] ===== */
.floating-actions {
    position: fixed;
    left: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.floating-btn {
    width: 48px !important; 
    height: 48px !important; 
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 43, 91, 0.4);
    font-size: 1.1rem !important;
    position: relative;
    overflow: hidden;
}

.floating-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-blue), var(--light-blue));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 43, 91, 0.6);
}

.floating-btn:hover::before {
    opacity: 1;
}

.floating-btn i {
    position: relative;
    z-index: 1;
}
#searchToggle, #cookieSettings {
    min-width: 48px;
    min-height: 48px;
}
/* إصلاح مساحات اللمس لإمكانية الوصول */
.floating-btn.search-toggle, 
.cookie-btn.settings {
    min-width: 48px !important;
    min-height: 48px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* زر العودة للأعلى */
.scroll-top {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

/* زر البحث السريع */
.search-toggle {
    background: linear-gradient(135deg, var(--success), #0da75c);
}

/* تحسينات للأزرار على الهواتف */
@media (max-width: 768px) {
    .floating-actions {
        left: 15px;
        bottom: 15px;
        gap: 8px;
    }
    
    .floating-btn {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .floating-actions {
        left: 12px;
        bottom: 12px;
    }
    
    .floating-btn {
        width: 42px;
        height: 42px;
        font-size: 0.95rem;
    }
}

/* ===== [نافذة البحث السريع] ===== */
.quick-search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
    padding: 20px;
}

.quick-search-modal.active {
    display: flex;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.quick-search-content {
    background: var(--white);
    border-radius: var(--footer-radius);
    width: 100%;
    max-width: 500px;
    padding: 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.quick-search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.quick-search-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
}

.close-search {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--gray-text);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.close-search:hover {
    color: var(--primary-blue);
}

.quick-search-form {
    margin-bottom: 20px;
}

.quick-search-input {
    width: 100%;
    padding: 15px 20px;
    border-radius: 10px;
    border: 2px solid var(--light-gray);
    font-size: 1rem;
    font-family: 'Tajawal', sans-serif;
    transition: all 0.3s ease;
}

.quick-search-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(43, 125, 195, 0.1);
}

.quick-search-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.quick-search-tag {
    background: var(--bg-color);
    border: 1px solid var(--light-gray);
    color: var(--primary-blue);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-search-tag:hover {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
}