@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,600;0,700;1,400&display=swap');

.dineindulge-reviews-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    position: relative;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.dineindulge-reviews-summary {
    text-align: center;
    margin-bottom: 32px;
    padding: 24px;
    background: #2a2a2a;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.summary-stars-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.summary-stars {
    display: flex;
    gap: 4px;
}

.summary-stars .star {
    width: 30px;
    height: 30px;
}

.summary-rating {
    font-size: 32px;
    font-weight: 700;
    color: #f3f4f6;
    line-height: 1;
}

.summary-count {
    font-size: 16px;
    color: #9ca3af;
    font-weight: 500;
}

.dineindulge-reviews-slider {
    position: relative;
    overflow: hidden;
}

.dineindulge-reviews-grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    animation: fadeIn 0.5s ease-in-out;
}

.dineindulge-reviews-grid::-webkit-scrollbar {
    height: 8px;
}

.dineindulge-reviews-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.dineindulge-reviews-grid::-webkit-scrollbar-thumb {
    background: #eb5f5d;
    border-radius: 10px;
}

.dineindulge-reviews-grid::-webkit-scrollbar-thumb:hover {
    background: #d94f4d;
}

.dineindulge-review-card {
    background: #2a2a2a;
    color: #e5e5e5;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    flex: 0 0 calc(32% - 16px);
    min-width: 320px;
    max-width: 380px;
    display: flex;
    flex-direction: column;
}

@media (max-width: 1024px) {
    .dineindulge-review-card {
        flex: 0 0 calc(100% - 20px);
        min-width: 300px;
    }
}

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

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.review-stars {
    display: flex;
    gap: 4px;
}

.star {
    width: 24px;
    height: 24px;
}

.review-verified {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #7ac279;
    font-weight: 600;
    font-size: 14px;
}

.verified-icon {
    width: 20px;
    height: 20px;
}

.review-content {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.review-text {
    font-size: 16px;
    line-height: 1.6;
    color: #e5e5e5;
    margin: 0 0 0 0;
    padding: 18px;
    background: #1f1f1f;
    border-left: 4px solid #eb5f5d !important;
    border-radius: 4px;
    height: 140px;
    overflow-y: auto;
    display: block;
}

.review-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin: 12px 0 12px 0;
    padding: 0;
}

.review-detail-item {
    font-size: 14px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 6px;
}

.date-icon,
.client-icon,
.chef-icon,
.menu-icon,
.headcount-icon {
    color: #6B7280;
    flex-shrink: 0;
}

.review-detail-item strong {
    color: #111827;
    font-weight: 600;
}

.review-text::-webkit-scrollbar {
    width: 6px;
}

.review-text::-webkit-scrollbar-track {
    background: #2a2a2a;
    border-radius: 3px;
}

.review-text::-webkit-scrollbar-thumb {
    background: #6b7280;
    border-radius: 3px;
}

.review-text::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.review-headcount {
    display: flex;
    align-items: center;
    gap: 6px;
}

.person-icon {
    color: #6B7280;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 32px;
}

.slider-prev,
.slider-next {
    background: #ffffff;
    border: 2px solid #E5E7EB;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #374151;
}

.slider-prev:hover,
.slider-next:hover {
    background: #eb5f5d;
    border-color: #eb5f5d;
    color: #ffffff;
    transform: scale(1.1);
}

.slider-prev:disabled,
.slider-next:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: #F3F4F6;
}

.slider-prev:disabled:hover,
.slider-next:disabled:hover {
    transform: none;
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #E5E7EB;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #eb5f5d;
    width: 32px;
    border-radius: 6px;
}

.slider-dot:hover {
    background: #D1D5DB;
}

.dineindulge-no-reviews {
    text-align: center;
    padding: 40px;
    color: #6B7280;
    font-size: 16px;
}

/* Pagination Styles */
.dineindulge-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    padding: 20px 0;
}

.dineindulge-pagination-nav {
    width: 100%;
}

.pagination-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.pagination-item {
    margin: 0 !important;
    padding: 0 !important;
}

.pagination-item a,
.pagination-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 40px;
    height: 40px;
    padding: 8px 12px;
    background: #333333;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none !important;
    transition: border-color .2s, color .2s;
}

.pagination-item a {
    color: #ffffff !important;
}

.pagination-item a:hover {
    border-color: #eb5f5d;
    color: #eb5f5d;
}

.pagination-item .current,
.pagination-item span.current {
    background: #eb5f5d;
    border-color: #eb5f5d;
    color: #ffffff;
}

.pagination-item .dots {
    border: none;
    background: transparent;
    color: #ffffff;
}

body.dark-theme .pagination-item a,
body.dark-theme .pagination-item span {
    background: #2a2a2a;
    border-color: #404040;
    color: #e5e5e5;
}

body.dark-theme .pagination-item a:hover {
    background: #333333;
    border-color: #eb5f5d;
    color: #eb5f5d;
}

body.dark-theme .pagination-item .current {
    background: #eb5f5d;
    border-color: #eb5f5d;
    color: #ffffff;
}

body.dark-theme .pagination-item .dots {
    background: transparent;
    border: none;
    color: #6B7280;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 8px 12px;
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.pagination-btn:hover:not(:disabled) {
    background: #F9FAFB;
    border-color: #eb5f5d;
    color: #eb5f5d;
}

.pagination-btn.active {
    background: #eb5f5d;
    border-color: #eb5f5d;
    color: #ffffff;
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #F9FAFB;
}

.pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    color: #9CA3AF;
    font-weight: 500;
}

.pagination-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Dark Theme Pagination */
body.dark-theme .pagination-btn {
    background: #2a2a2a;
    border-color: #404040;
    color: #e5e5e5;
}

body.dark-theme .pagination-btn:hover:not(:disabled) {
    background: #333333;
    border-color: #eb5f5d;
    color: #eb5f5d;
}

body.dark-theme .pagination-btn.active {
    background: #eb5f5d;
    border-color: #eb5f5d;
    color: #ffffff;
}

body.dark-theme .pagination-btn:disabled {
    background: #1f1f1f;
    border-color: #333333;
    color: #6B7280;
}

body.dark-theme .pagination-ellipsis {
    color: #6B7280;
}

@media (max-width: 768px) {
    .dineindulge-review-card {
        padding: 24px;
    }

    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .review-details {
        grid-template-columns: 1fr;
    }

    .slider-controls {
        gap: 16px;
    }

    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .dineindulge-reviews-wrapper {
        padding: 0 12px;
    }

    .dineindulge-review-card {
        padding: 20px;
    }

    .review-text {
        font-size: 15px;
        padding: 16px;
    }
}
