﻿    /* تخصيصات Dark Theme لتطابق تصميم الموبايل */
    body {
        font-family: 'Cairo', sans-serif; /* تأكد من وجود الخط في الـ Layout */
    }
.Desc {
    text-align: justify;
    line-height: 2;
}

    .business-container {
        margin: 0 auto;
        min-height: 100vh;
        padding-bottom: 50px;
        box-shadow: 0 0 20px rgba(0,0,0,0.5);
        position: relative;
    }
    /* Cover Section */
    .cover-section {
        height: 300px;
        position: relative;
        background-color: #333;
        background-size: cover;
        background-position: center;
    }

    .cover-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0,0,0,0.3);
    }
    /* Top Buttons */
    .top-btn {
        position: absolute;
        top: 15px;
        background: rgba(0,0,0,0.6);
        color: white;
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        cursor: pointer;
        z-index: 10;
    }

    .btn-back {
        right: 15px;
    }

    .btn-report {
        left: 15px;
        background-color: #dc3545;
    }
    /* Red flag */
    /* Profile Logo Overlapping */
.profile-section {
    background-color: #f5f5f5;
    position: relative;
    margin-top: -60px; /* سحب الشعار للأعلى */
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.dark .profile-section {
    background-color: #1b1b1b !important;
}

.shortcut-label {
    color: #000000;
}
.dark .shortcut-label {
    color: #ffffff;
}

.profile-img-border {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    /* background-color: #1B1B1B; */
    padding: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: flex-start;
}

    .profile-img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid #2A2A2A;
    }
    /* Business Info */
    .business-info {
        text-align: center;
        margin-top: 10px;
    }

    .business-name {
        font-weight: bold;
        font-size: 1.5rem;
        margin-bottom: 5px;
    }

    .business-cat {
        font-size: 1rem;
        margin-bottom: 5px;
    }

    .business-loc {
        font-size: 1rem;
        margin-bottom:25px;

    }
    /* Shortcuts Grid (4 Icons) */
    .shortcuts-grid {
        display: flex;
        justify-content: space-between;
        margin: 25px 0;
        padding: 0 10px;
    }

    .shortcut-item {
        text-align: center;
        width: 23%;
    }

.shortcut-icon-box {
    background-color: #2A2A2A;
    border-radius: 18px;
    height: 70px;
    width: 70px;
    margin: 0 auto 8px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: transform 0.2s;
    border: 1px solid #333;
    width: 100px;
    height: 100px;
    display: inline-block !important;
    border-radius: 50%;
    line-height: 100px;
    font-size: 37px;
}

    .shortcut-item:hover .shortcut-icon-box {
        transform: scale(1.05);
        cursor: pointer;
    }

    .shortcut-item a {
        text-decoration: none;
        color: white;
        display: block;
    }

.shortcut-label {
    font-size: 0.85rem;
    color: #000;
    display: block;
}
    /* Icon Colors Matching the Image */
.icon-photos {
    background-color: #8E44AD;
}
    /* Purple */
.icon-videos {
    background-color: #E74C3C;
}
    /* Red */
.icon-offers {
    background-color: #27AE60;
}
    /* Green */
.iconn-menu {
    background-color: #E67E22;
}
    /* Orange */
    /* Action Bar (Rate, Share, Fav) */
    .action-bar {
        display: flex;
        justify-content: center;
        gap: 40px;
        margin: 20px 0;
        padding-bottom: 20px;
        border-bottom: 1px solid #333;
    }

    .action-btn {
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        transition: color 0.2s;
    }

    .btn-rate {
        color: #F6D533;
    }

.btn-share {
    color: #e74c3c;
}
  .dark  .btn-share {
        color: white;
    }

    .btn-fav {
        color: #8C8C8C;
    }

        .btn-fav.active {
            color: #F00;
        }
    /* Rating Section */
.rating-card {
    background-color: #f4faf2;
    border-radius: 16px;
    padding: 20px;
    margin: 15px;
    border: 1px solid #ffffff;
}
.dark .rating-card {
    background-color: #1b1b1b;
    border-radius: 16px;
    padding: 20px;
    margin: 15px;
    border: 1px solid #2A2A2A;
}

    .rating-score {
        font-size: 40px;
        font-weight: bold;
    }

    .progress {
        height: 8px;
        background-color: #444;
        margin-bottom: 0;
    }
.progress {
    background-color: #d9d9d9;
}
.dark .progress {
    height: 8px;
    background-color: #444;
    margin-bottom: 0;
}
    .progress-bar {
        background-color: #19a622;
    }
   .dark .progress-bar {
        background-color: #F6D533;
    }

    .star-row {
        display: flex;
        align-items: center;
        margin-bottom: 8px;
        font-size: 12px;
        color: #aaa;
    }

        .star-row span {
            width: 15px;
            text-align: center;
        }
    /* Details List */
    .details-list {
        padding: 0 20px;
        margin-bottom: 20px;
    }

    .detail-item {
        margin-bottom: 10px;
        font-size: 0.95rem;
    }

        .detail-item i {
            width: 25px;
            color: #aaa;
            text-align: center;
            margin-left: 10px;
        }
    /* Social Media */
    .social-section {
        padding: 0 20px;
        margin-bottom: 20px;
    }

    .social-icons {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .social-btn {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 18px;
        text-decoration: none;
        flex-shrink: 0;
    }
    /* Map Placeholder */
    .map-container {
        margin: 20px;
        height: 250px;
        border-radius: 16px;
        background-color: #333;
        background-size: cover;
        position: relative;
        overflow: hidden;
        border: 1px solid #444;
    }

.btn-open-map {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color: #f4faf2;
    color: black;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    text-decoration: none;
}
 .dark   .btn-open-map {
        position: absolute;
        bottom: 15px;
        left: 15px;
        background-color: rgba(255,255,255,0.9);
        color: black;
        border: none;
        padding: 8px 16px;
        border-radius: 20px;
        font-weight: bold;
        font-size: 0.9rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.3);
        text-decoration: none;
    }

    /* Comments */
    .comments-section {
        padding: 0 20px;
    }

.comment-card {
    background-color: #f4faf2;
    border: 1px solid #223041;
    border-radius: 18px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
}

 .dark   .comment-card {
        background-color: #141B23;
        border: 1px solid #223041;
        border-radius: 18px;
        padding: 15px;
        margin-bottom: 15px;
        display: flex;
        gap: 15px;
    }


    .comment-avatar {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        object-fit: cover;
    }

    .comment-content h5 {
        font-size: 1rem;
        margin-bottom: 5px;
        font-weight: bold;
    }

    .comment-text {
        font-size: 0.9rem;
        color: #ddd;
        margin-bottom: 8px;
    }

    .comment-meta {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 0.8rem;
        color: #888;
    }

    .rating-badge {
        background-color: #2B1806;
        color: #FDBA74;
        padding: 2px 8px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        gap: 4px;
    }


.CommentCard {
    border-radius: 18px;
    background-color: #f4faf2 !important;
    border-color: #dddddd !important;
}
.dark .CommentCard {
    border-radius: 18px;
    background-color: #141B23 !important;
    border-color: #223041 !important;
}
.CommentBadge {
    background-color: #f4faf2 !important;
}
.dark .CommentBadge {
    background-color: #223041 !important;
}
.CommentBadgeRate {
    background-color: #f4faf2;
    color: #000000;
    width: 100px;
    text-align: center;
    font-size: 16px;
    display: block;
}
.dark .CommentBadgeRate {
    background-color: #1b1b1b;
    color: #ffc107;
    width: 100px;
    text-align: center;
    font-size: 16px;
    display: block;
}

/* ========================================= */
/* ========= Modern Business Header ======== */
/* ========================================= */

.business-header-card {
    background-color: #FFFFFF;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid #E5E7EB;
}

/* 1. Cover Area */
.cover-wrapper {
    height: 280px; /* ارتفاع الغلاف */
    width: 100%;
    background-color: #eee;
    overflow: hidden;
    position: relative;
}

.cover-image {
    width: 100%;
    height: 100%;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: transform 0.5s ease;
    cursor: zoom-in;
}

.cover-wrapper:hover .cover-image {
    transform: scale(1.05); /* تأثير زووم خفيف */
}

.cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.4));
    pointer-events: none;
}

/* Report Button */
.btn-report {
    position: absolute;
    top: 15px;
    left: 15px; /* RTL Left */
    background: rgba(255, 255, 255, 0.25);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition: 0.2s;
    z-index: 10;
}

    .btn-report:hover {
        background: rgba(220, 53, 69, 0.8);
    }

/* 2. Logo Area */
.profile-logo-box {
    width: 140px;
    height: 140px;
    margin-top: -70px; /* يرفع الشعار للأعلى ليتداخل مع الغلاف */
    border-radius: 20px; /* حواف دائرية عصرية */
    background-color: #FFFFFF;
    padding: 4px; /* إطار أبيض */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 5;
}

.profile-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid #F3F4F6;
    cursor: zoom-in;
}

/* 3. Text Info Area */
.profile-text-info h1 {
    font-family: 'Cairo', sans-serif;
    font-size: 1.5rem;
    color: #111827;
}

.x-small {
    font-size: 10px;
}

/* ========================================= */
/* ========= Dark Mode Support ============= */
/* ========================================= */

.dark .business-header-card {
    background-color: #141B23;
    border-color: #223041;
}

.dark .profile-logo-box {
    background-color: #141B23; /* لون خلفية الشعار في الداكن */
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.dark .profile-logo-img {
    border-color: #223041;
}

.dark .profile-text-info h1 {
    color: #FFFFFF;
}

.dark .badge.bg-light {
    background-color: #1F2A37 !important;
    color: #D1D5DB !important;
    border-color: #374151 !important;
}
/* Responsive Tweaks */
@media (max-width: 767px) {
    .cover-wrapper {
        height: 200px;
    }

    .profile-logo-box {
        width: 110px;
        height: 110px;
        margin-top: -55px; /* ضبط التداخل للموبايل */
        margin-left: auto;
        margin-right: auto;
    }

    .profile-text-info {
        margin-top: 10px; /* مسافة بين الشعار والاسم في الموبايل */
    }

        .profile-text-info h1 {
            font-size: 1.3rem;
        }
}

@media  (max-width: 1024px) {
    .shortcut-icon-box {
        border-radius: 18px;
        height: 50px !important;
        width: 50px !important;
        margin: 0 auto 8px auto;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 28px;
        transition: transform 0.2s;
        border: 1px solid #333;
        width: 100px;
        height: 100px;
        display: inline-block !important;
        border-radius: 50%;
        line-height: 50px;
        font-size: 20px;
    }
    .BusinessDescription {
        line-height: 2;
        font-size: 15px;
        text-align: justify;
    }
    .business-info {
        position: initial;
    }
    .profile-img {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        object-fit: fill;
        border: 2px solid #2A2A2A;
        left: 36px;
        position: inherit;
    }
    .profile-img-border {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background-color: transparent;
        padding: 4px;
        display: flex;
        justify-content: center;
        align-items: center;
        align-self: flex-start;
    }
}

/* ============================================= */
/* SECTION 2: SMART SHORTCUTS CSS                */
/* ============================================= */
/* ============================================= */
/* SECTION 2: SMART SHORTCUTS CSS                */
/* ============================================= */

/* 1. Reset Anchor Styles inside this section */
#shortcuts-section a {
    text-decoration: none !important;
    display: block; /* Make anchor fill the column */
    height: 100%;
}

/* 2. Base Card Styling */
#shortcuts-section .shortcut-card {
    border-radius: 16px;
    padding: 1.2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 3. Icon Circle Base */
#shortcuts-section .icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

/* 4. EXPLICIT COLOR DEFINITIONS (Normal & Hover) */
/* هنا نحدد الألوان يدوياً لكل حالة لضمان عدم اختفائها */

/* --- Purple --- */
#shortcuts-section .text-purple {
    color: #9333EA !important;
}

#shortcuts-section .bg-soft-purple {
    background-color: #F3E8FF;
}

    #shortcuts-section .bg-soft-purple:hover {
        background-color: #FFFFFF !important;
        border-color: #9333EA !important;
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(147, 51, 234, 0.15); /* ظل بنفسجي خفيف */
    }

        #shortcuts-section .bg-soft-purple:hover .icon-circle {
            background-color: #9333EA !important;
            color: #FFFFFF !important;
        }

/* --- Red --- */
#shortcuts-section .text-red {
    color: #DC2626 !important;
}

#shortcuts-section .bg-soft-red {
    background-color: #FEE2E2;
}

    #shortcuts-section .bg-soft-red:hover {
        background-color: #FFFFFF !important;
        border-color: #DC2626 !important;
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(220, 38, 38, 0.15);
    }

        #shortcuts-section .bg-soft-red:hover .icon-circle {
            background-color: #DC2626 !important;
            color: #FFFFFF !important;
        }

/* --- Orange --- */
#shortcuts-section .text-orange {
    color: #EA580C !important;
}

#shortcuts-section .bg-soft-orange {
    background-color: #FFEDD5;
}

    #shortcuts-section .bg-soft-orange:hover {
        background-color: #FFFFFF !important;
        border-color: #EA580C !important;
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(234, 88, 12, 0.15);
    }

        #shortcuts-section .bg-soft-orange:hover .icon-circle {
            background-color: #EA580C !important;
            color: #FFFFFF !important;
        }

/* --- Green --- */
#shortcuts-section .text-green {
    color: #16A34A !important;
}

#shortcuts-section .bg-soft-green {
    background-color: #DCFCE7;
}

    #shortcuts-section .bg-soft-green:hover {
        background-color: #FFFFFF !important;
        border-color: #16A34A !important;
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(22, 163, 74, 0.15);
    }

        #shortcuts-section .bg-soft-green:hover .icon-circle {
            background-color: #16A34A !important;
            color: #FFFFFF !important;
        }

/* 5. Typography */
#shortcuts-section .fw-bold {
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    font-weight: 700 !important;
}

/* ============ Dark Mode Support ============ */

.dark #shortcuts-section .shortcut-card {
    background-color: #1F2937 !important;
    border-color: #374151;
}

.dark #shortcuts-section .icon-circle {
    background-color: rgba(255,255,255,0.05);
}

/* تعديل ألوان النصوص في الداكن */
.dark #shortcuts-section .text-purple {
    color: #D8B4FE !important;
}

.dark #shortcuts-section .text-red {
    color: #FCA5A5 !important;
}

.dark #shortcuts-section .text-orange {
    color: #FDBA74 !important;
}

.dark #shortcuts-section .text-green {
    color: #86EFAC !important;
}

/* هوفر الداكن - يبقى داكن */
.dark #shortcuts-section .shortcut-card:hover {
    background-color: #111827 !important;
}

/* ============================================= */
/* SECTION 3: ACTIONS BAR CSS                    */
/* ============================================= */

/* Container (The Pill) */
#actions-section .action-pill-container {
    background-color: #FFFFFF;
    border-radius: 50px; /* حواف دائرية كاملة */
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    padding: 5px;
    width: 100%;
    max-width: 400px; /* عرض أقصى لعدم تمددها في الكمبيوتر */
    border: 1px solid #E5E7EB;
}

/* Button Base */
#actions-section .action-pill-btn {
    flex: 1; /* توزيع متساوي */
    background: transparent;
    border: none;
    padding: 10px 0;
    border-radius: 40px;
    display: flex;
    flex-direction: column; /* الأيقونة فوق النص (اختياري) أو بجانبه */
    align-items: center;
    justify-content: center;
    color: #4B5563;
    transition: all 0.2s ease;
    gap: 4px;
}

    #actions-section .action-pill-btn i {
        font-size: 20px;
        transition: transform 0.2s;
    }

#actions-section .action-label {
    font-family: 'Cairo', sans-serif;
    font-size: 12px;
    font-weight: 700;
}

/* Divider Line */
#actions-section .action-divider {
    width: 1px;
    height: 25px;
    background-color: #E5E7EB;
}

/* --- Colors & Hover Effects --- */

/* Rate (Yellow/Gold) */
#actions-section .btn-rate:hover {
    background-color: #FEFCE8;
    color: #EAB308;
}

    #actions-section .btn-rate:hover i {
        transform: scale(1.2) rotate(-15deg);
    }

/* Share (Blue) */
#actions-section .btn-share:hover {
    background-color: #EFF6FF;
    color: #3B82F6;
}

    #actions-section .btn-share:hover i {
        transform: scale(1.2);
    }

/* Fav (Red) */
#actions-section .btn-fav:hover {
    background-color: #FEF2F2;
    color: #EF4444;
}

    #actions-section .btn-fav:hover i {
        transform: scale(1.2);
    }

/* Active State for Fav (يمكن تفعيله بالجافاسكريبت بإضافة كلاس active) */
#actions-section .btn-fav.active {
    color: #EF4444 !important;
}

/* ============ Dark Mode ============ */

.dark #actions-section .action-pill-container {
    background-color: #1F2937;
    border-color: #374151;
}

.dark #actions-section .action-pill-btn {
    color: #D1D5DB;
}

.dark #actions-section .action-divider {
    background-color: #374151;
}

.dark #actions-section .btn-rate:hover {
    background-color: #422006;
    color: #FACC15;
}

.dark #actions-section .btn-share:hover {
    background-color: #172554;
    color: #60A5FA;
}

.dark #actions-section .btn-fav:hover {
    background-color: #450A0A;
    color: #F87171;
}
/* ============ Ratings Section ============ */

/* تحسين شكل البروجرس بار */
.progress {
    overflow: visible; /* للسماح بتأثيرات مستقبلية */
    background-color: #F3F4F6 !important;
}

.progress-bar {
    transition: width 1s ease-in-out; /* حركة ناعمة عند التحميل */
}

/* تنسيق الرقم الكبير */
.rating-score {
    font-family: 'Cairo', sans-serif;
    letter-spacing: -1px;
}

/* في الوضع الداكن */
.dark .rating-card {
    background-color: #1F2937 !important;
    border-color: #374151 !important;
}

.dark .border-secondary {
    border-color: #374151 !important; /* لون الفاصل في الداكن */
}

.dark .progress {
    background-color: #374151 !important;
}

.dark .text-dark {
    color: #FFFFFF !important;
}
/* ============ Social Media Strips ============ */

/* Social Link Item */
#social-section .social-strip {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 50px; /* Pill Shape */
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap; /* منع النص من النزول */
    border: 1px solid transparent;
    min-width: fit-content;
}

/* Icon Box */
#social-section .social-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.25); /* خلفية شفافة للأيقونة */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px; /* مسافة بين الأيقونة والنص (RTL) */
    font-size: 16px;
    color: white;
}

/* Text */
#social-section .social-text {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 12px;
    color: white; /* النص أبيض دائماً لأن الخلفية ملونة */
}
#social-section .social-text :hover{
    font-size: 13px;
    color: #000; /* النص أبيض دائماً لأن الخلفية ملونة */
}



/* Hover Effect */
#social-section .social-strip:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    filter: brightness(1.1); /* تفتيح اللون قليلاً */
}

/* ============ Dark Mode ============ */
.dark #social-section .social-strip {
    box-shadow: 0 4px 10px rgba(0,0,0,0.3); /* ظل أقوى في الداكن */
}


/* ============ Modern Comments ============ */

/* Comment Card */
#comments-section .comment-card {
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 1.2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    border: 1px solid #F3F4F6;
    transition: transform 0.2s;
    position: relative;
}

    #comments-section .comment-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    }

/* User Image */
#comments-section .comment-user-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #FFFFFF;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: zoom-in;
    transition: transform 0.2s;
}

    #comments-section .comment-user-img:hover {
        transform: scale(1.1);
    }

/* Rating Badge (The Star Strip) */
#comments-section .comment-rating-badge {
    background-color: #FEFCE8;
    color: #EAB308;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Typography */
#comments-section .comment-name {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    color: #111827;
    margin-bottom: 2px;
}

#comments-section .comment-text {
    font-family: 'Cairo', sans-serif;
    color: #4B5563;
    line-height: 1.6;
    font-size: 14px;
    background-color: #F9FAFB; /* خلفية خفيفة للنص */
    padding: 10px;
    border-radius: 12px;
    border-top-right-radius: 0; /* شكل الفقاعة */
    margin-top: 8px;
}

#comments-section .comment-date {
    font-size: 11px;
    color: #9CA3AF;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ============ Dark Mode ============ */
.dark #comments-section .comment-card {
    background-color: #1F2937;
    border-color: #374151;
}

.dark #comments-section .comment-name {
    color: white;
}

.dark #comments-section .comment-text {
    background-color: #111827;
    color: #D1D5DB;
}

.dark #comments-section .comment-rating-badge {
    background-color: #422006;
    color: #FACC15;
}

/* هذا الكلاس هو المسؤول عن تلوين القلب بالأحمر عندما يكون active */
#actions-section .btn-fav.active {
    color: #EF4444 !important; /* لون أحمر */
    background-color: #FEF2F2; /* خلفية حمراء فاتحة (اختياري) */
}

/* ======================================= */
/* ==================== Gallery Page */
/* ======================================= */

/* ============ Light (Default) ============ */
.Gallery-Page {
    background-color: #F6F7F9;
    min-height: 100vh;
}

/* Header */
.Gallery-HeaderCard {
    background-color: #FFFFFF;
    border-radius: 18px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.Gallery-IconBadge {
    width: 44px;
    height: 44px;
    background-color: #E0F2FE; /* Sky Light */
    border-radius: 16px;
    color: #0369A1;
    font-size: 18px;
}

.Gallery-Title {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    color: #111827;
}

.Gallery-Subtitle {
    font-family: 'Cairo', sans-serif;
    font-size: 12px;
    color: #6B7280;
}

/* Back Button */
.Gallery-BackBtn {
    width: 42px;
    height: 42px;
    background-color: #F3F4F6;
    border-radius: 12px;
    color: #374151;
    font-size: 18px;
    transition: 0.2s;
}

    .Gallery-BackBtn:hover {
        background-color: #E5E7EB;
        color: #111827;
    }

/* Tabs */
.Gallery-TabsContainer {
    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .Gallery-TabsContainer ::-webkit-scrollbar {
        display: none;
    }

.btn-album-tab {
    background-color: #F9FAFB;
    color: #111827;
    border: 1px solid #E5E7EB;
    border-radius: 50px;
    padding: 8px 16px;
    font-family: 'Cairo', sans-serif;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: 0.2s;
}

    .btn-album-tab:hover {
        background-color: #EEF2FF;
        border-color: #3730A3;
    }

    .btn-album-tab.active {
        background-color: #008080; /* Teal */
        color: white;
        border-color: #008080;
    }

/* Photo Card */
.Gallery-ItemCard {
    background-color: #FFFFFF;
    border-radius: 14px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    border: 1px solid #E5E7EB;
    transition: transform 0.2s;
}

    .Gallery-ItemCard:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    }

.Gallery-ImgBox {
    height: 180px;
    background-color: #F3F4F6;
    position: relative;
}

.Gallery-AlbumTag {
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(2px);
    font-family: 'Cairo', sans-serif;
}


/* ============ dark ============ */

.dark .Gallery-Page {
    background-color: #0F141A;
}

.dark .Gallery-HeaderCard {
    background-color: #141B23;
    color: white;
}

.dark .Gallery-IconBadge {
    background-color: #0B2239;
    color: #93C5FD;
}

.dark .Gallery-Title {
    color: white;
}

.dark .Gallery-Subtitle {
    color: #A7B0BC;
}

.dark .Gallery-BackBtn {
    background-color: #1F2937;
    color: #D1D5DB;
}

    .dark .Gallery-BackBtn:hover {
        background-color: #374151;
        color: white;
    }

.dark .btn-album-tab {
    background-color: #1F2937;
    border-color: #374151;
    color: #D1D5DB;
}

    .dark .btn-album-tab.active {
        background-color: #008080;
        color: white;
    }

.dark .Gallery-ItemCard {
    background-color: #141B23;
    border-color: #223041;
}

    .dark .Gallery-ItemCard:hover {
        background-color: #1F2937;
    }

.dark .Gallery-ImgBox {
    background-color: #0F141A;
}

.dark .bg-white {
    background-color: #141B23 !important;
    border-top-color: #223041 !important;
}

.dark .text-dark {
    color: white !important;
}


/* ======================================= */
/* ==================== Videos Page */
/* ======================================= */

/* ============ Light (Default) ============ */
.Videos-Page {
    background-color: #F6F7F9;
    min-height: 100vh;
}

/* Header */
.Videos-HeaderCard {
    background-color: #FFFFFF;
    border-radius: 18px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.Videos-IconBadge {
    width: 44px;
    height: 44px;
    background-color: #FEE2E2; /* Red Light for Video */
    border-radius: 16px;
    color: #DC2626;
    font-size: 18px;
}

.Videos-Title {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    color: #111827;
}

.Videos-Subtitle {
    font-family: 'Cairo', sans-serif;
    font-size: 12px;
    color: #6B7280;
}

/* Back Button */
.Videos-BackBtn {
    width: 42px;
    height: 42px;
    background-color: #F3F4F6;
    border-radius: 12px;
    color: #374151;
    font-size: 18px;
    transition: 0.2s;
}

    .Videos-BackBtn:hover {
        background-color: #E5E7EB;
        color: #111827;
    }

/* Pulse Animation Icon */
.Videos-PulseIcon {
    width: 80px;
    height: 80px;
    background-color: #DC2626;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.3);
}

.Videos-PulseRing {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(220, 38, 38, 0.2);
    animation: pulse-ring 2s infinite;
    z-index: 1;
}

@keyframes pulse-ring {
    0% {
        width: 80px;
        height: 80px;
        opacity: 1;
    }

    100% {
        width: 140px;
        height: 140px;
        opacity: 0;
    }
}

.btn-teal {
    background-color: #008080;
    color: white;
    transition: 0.2s;
}

    .btn-teal:hover {
        background-color: #006666;
        color: white;
    }


/* ============ dark ============ */

.dark .Videos-Page {
    background-color: #0F141A;
}

.dark .Videos-HeaderCard {
    background-color: #141B23;
    color: white;
}

.dark .Videos-IconBadge {
    background-color: #450A0A;
    color: #FCA5A5;
}

.dark .Videos-Title {
    color: white;
}

.dark .Videos-Subtitle {
    color: #A7B0BC;
}

.dark .Videos-BackBtn {
    background-color: #1F2937;
    color: #D1D5DB;
}

    .dark .Videos-BackBtn:hover {
        background-color: #374151;
        color: white;
    }

.dark .text-dark {
    color: white !important;
}

.dark .text-muted {
    color: #9CA3AF !important;
}

/* ============ Share Modal Styles ============ */

.Share-ModalContent {
    border-radius: 20px;
    border: none;
}

.Share-IconBtn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 22px;
    transition: transform 0.2s;
    text-decoration: none !important;
}

    .Share-IconBtn:hover {
        transform: translateY(-3px);
        opacity: 0.9;
    }

/* Brand Colors */
.bg-facebook {
    background-color: #1877F2;
}

.bg-whatsapp {
    background-color: #25D366;
}

.bg-twitter {
    background-color: #000000;
}
/* X is black */
.bg-linkedin {
    background-color: #0A66C2;
}

/* Input Direction Fix */
.direction-ltr {
    direction: ltr;
}

/* Dark Mode */
.dark .Share-ModalContent {
    background-color: #141B23;
    color: white;
}

    .dark .Share-ModalContent .form-control,
    .dark .Share-ModalContent .btn-light {
        background-color: #1F2937 !important;
        border-color: #374151;
        color: #D1D5DB;
    }

.BusinessDescription {
    line-height: 2.5;
    font-size: 16px;
    text-align: justify;
}






/* ============================================= */
/* WORK HOURS CARD                               */
/* ============================================= */

.workhours-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

    .workhours-card:hover {
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.03);
        transform: translateY(-2px);
    }

/* ============================================= */
/* STATUS BAR                                    */
/* ============================================= */

.workhours-status-bar {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

    .workhours-status-bar::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 100%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
        pointer-events: none;
    }

    .workhours-status-bar::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    }

    /* Status Open */
    .workhours-status-bar.status-open {
        background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    }

    /* Status Closed */
    .workhours-status-bar.status-closed {
        background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%);
    }

    /* Status Unknown */
    .workhours-status-bar.status-unknown {
        background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    }

/* Status Content */
.status-content {
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 1;
}

/* Status Icon */
.status-icon-wrapper {
    position: relative;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-icon-bg {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.workhours-status-bar:hover .status-icon-bg {
    transform: rotate(5deg) scale(1.05);
}

.status-icon {
    font-size: 1.5rem;
    color: white;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    transition: transform 0.3s ease;
}

.workhours-status-bar:hover .status-icon {
    transform: scale(1.1);
}

/* Status Text */
.status-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.status-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-message {
    font-size: 1.1rem;
    color: white;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Status Loader */
.status-loader {
    z-index: 1;
}

.spinner {
    display: flex;
    gap: 4px;
}

    .spinner > div {
        width: 8px;
        height: 8px;
        background-color: rgba(255, 255, 255, 0.8);
        border-radius: 50%;
        animation: bounce 1.4s infinite ease-in-out both;
    }

    .spinner .bounce1 {
        animation-delay: -0.32s;
    }

    .spinner .bounce2 {
        animation-delay: -0.16s;
    }

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

/* ============================================= */
/* SCHEDULE SECTION                              */
/* ============================================= */

.workhours-schedule {
    padding: 0;
}

.schedule-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.schedule-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
}

    .schedule-title i {
        font-size: 1.1rem;
        color: #667eea;
        background: linear-gradient(135deg, #667eea20 0%, #764ba220 100%);
        padding: 8px;
        border-radius: 10px;
    }

/* ============================================= */
/* SCHEDULE TABLE                                */
/* ============================================= */

.schedule-table-wrapper {
    padding: 8px 16px 16px;
}

.schedule-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

/* Table Rows */
.workhours-row {
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

    .workhours-row:hover {
        background: #f1f5f9;
        transform: translateX(-4px);
    }

    .workhours-row td {
        padding: 14px 16px;
    }

        .workhours-row td:first-child {
            border-radius: 0 12px 12px 0;
        }

        .workhours-row td:last-child {
            border-radius: 12px 0 0 12px;
        }

    /* Today Row */
    .workhours-row.today-row {
        background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
        box-shadow: inset 0 0 0 2px #667eea30, 0 4px 12px rgba(102, 126, 234, 0.15);
    }

        .workhours-row.today-row:hover {
            background: linear-gradient(135deg, #667eea20 0%, #764ba220 100%);
        }

/* Day Cell */
.day-cell {
    width: 45%;
}

.day-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.day-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    color: #667eea;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.workhours-row:hover .day-icon {
    transform: rotate(-10deg) scale(1.1);
    color: #764ba2;
}

.day-name {
    font-weight: 600;
    color: #334155;
    font-size: 0.95rem;
}

.today-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    margin-right: auto;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    }

    50% {
        box-shadow: 0 2px 16px rgba(102, 126, 234, 0.5);
    }
}

/* Periods Cell */
.periods-cell {
    width: 55%;
}

.periods-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.period-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

    /* Period Active */
    .period-item.active {
        background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
        color: #0369a1;
    }

        .period-item.active i {
            font-size: 0.8rem;
        }

        .period-item.active .period-arrow {
            font-size: 0.7rem;
            opacity: 0.6;
        }

.workhours-row:hover .period-item.active {
    background: linear-gradient(135deg, #bae6fd 0%, #7dd3fc 100%);
    transform: scale(1.02);
}

/* Period Holiday */
.period-item.holiday {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #dc2626;
}

    .period-item.holiday i {
        animation: sleep 3s infinite ease-in-out;
    }

@keyframes sleep {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

/* Period All Day */
.period-item.all-day {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #16a34a;
}

    .period-item.all-day i {
        animation: spin 8s linear infinite;
    }

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Period Not Set */
.period-item.not-set {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #d97706;
}

/* ============================================= */
/* SKELETON LOADING                              */
/* ============================================= */

.skeleton-row td {
    padding: 14px 16px;
}

.skeleton-day,
.skeleton-period {
    height: 20px;
    border-radius: 6px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
}

.skeleton-day {
    width: 100px;
}

.skeleton-period {
    width: 150px;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ============================================= */
/* ERROR STATE                                   */
/* ============================================= */

.error-cell {
    padding: 40px 20px !important;
}

.error-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #94a3b8;
}

    .error-content i {
        font-size: 2.5rem;
        opacity: 0.5;
    }

    .error-content span {
        font-size: 0.9rem;
    }

/* ============================================= */
/* DARK MODE                                     */
/* ============================================= */

.dark .workhours-card {
    background: linear-gradient(145deg, #1e1e2d 0%, #252536 100%);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.dark .schedule-header {
    border-bottom-color: rgba(255,255,255,0.05);
}

.dark .schedule-title {
    color: #e2e8f0;
}

    .dark .schedule-title i {
        background: linear-gradient(135deg, #667eea30 0%, #764ba230 100%);
    }

.dark .workhours-row {
    background: #2a2a3d;
}

    .dark .workhours-row:hover {
        background: #32324a;
    }

    .dark .workhours-row.today-row {
        background: linear-gradient(135deg, #667eea25 0%, #764ba225 100%);
        box-shadow: inset 0 0 0 2px #667eea40, 0 4px 12px rgba(102, 126, 234, 0.2);
    }

.dark .day-icon {
    background: #1e1e2d;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.dark .day-name {
    color: #e2e8f0;
}

.dark .period-item.active {
    background: linear-gradient(135deg, #1e3a5f 0%, #1e4976 100%);
    color: #7dd3fc;
}

.dark .period-item.holiday {
    background: linear-gradient(135deg, #4a1a1a 0%, #5c2a2a 100%);
    color: #fca5a5;
}

.dark .period-item.all-day {
    background: linear-gradient(135deg, #14432a 0%, #166534 100%);
    color: #86efac;
}

.dark .period-item.not-set {
    background: linear-gradient(135deg, #4a3f1a 0%, #5c4d1f 100%);
    color: #fcd34d;
}

.dark .skeleton-day,
.dark .skeleton-period {
    background: linear-gradient(90deg, #2a2a3d 25%, #32324a 50%, #2a2a3d 75%);
    background-size: 200% 100%;
}

.dark .error-content {
    color: #64748b;
}

/* ============================================= */
/* RESPONSIVE                                    */
/* ============================================= */

@media (max-width: 576px) {
    .workhours-status-bar {
        padding: 16px;
    }

    .status-icon-wrapper {
        width: 48px;
        height: 48px;
    }

    .status-icon {
        font-size: 1.25rem;
    }

    .status-label {
        font-size: 0.7rem;
    }

    .status-message {
        font-size: 0.95rem;
    }

    .schedule-header {
        padding: 16px;
    }

    .schedule-title {
        font-size: 0.9rem;
    }

    .schedule-table-wrapper {
        padding: 4px 12px 12px;
    }

    .workhours-row td {
        padding: 10px 12px;
    }

    .day-cell {
        width: 40%;
    }

    .periods-cell {
        width: 60%;
    }

    .day-icon {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .day-name {
        font-size: 0.85rem;
    }

    .today-badge {
        font-size: 0.6rem;
        padding: 3px 8px;
    }

    .period-item {
        padding: 6px 10px;
        font-size: 0.75rem;
        gap: 6px;
    }

    .day-info {
        flex-wrap: wrap;
        gap: 8px;
    }
}

@media (max-width: 400px) {
    .day-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .today-badge {
        margin-right: 0;
    }

    .periods-list {
        flex-direction: column;
    }
}