﻿    /* تخصيصات 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;
}

@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;
    }
    .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;
    }
}