.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #5e5873;
    position: relative;
    padding-bottom: 0.5rem;
}
.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #7367f0, #9e95f5);
    border-radius: 2px;
}
.featured-banner {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 4px 24px 0 rgba(34,41,47,.1);
    position: relative;
    height: 150px;
}
.featured-banner img {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}
.featured-banner:hover img {
    transform: scale(1.05);
}
.product-section {
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(34,41,47,0.08);
    border: 1px solid rgba(116, 185, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.product-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6c5ce7, #74b9ff, #00b894, #fdcb6e);
}

.ecommerce-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
}

.ecommerce-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(34,41,47,.15);
    border-color: rgba(116, 185, 255, 0.3);
}
.ecommerce-card .item-img {
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.ecommerce-card .item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.badge-hot {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(45deg, #ff6b6b, #ff4757);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.badge-new {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(45deg, #00d2ff, #3a7bd5);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(0, 210, 255, 0.4);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}
.sidebar-banner {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: 120px;
}
.sidebar-banner img {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}
.sidebar-banner:hover img {
    transform: scale(1.1);
}

/* تحسينات إضافية للمرونة والأناقة */
.price-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.original-price {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 0.875rem;
}

.discount-badge {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

.rating-stars {
    color: #ffc107;
    font-size: 0.875rem;
    filter: drop-shadow(0 1px 2px rgba(255, 193, 7, 0.3));
}

.rating-count {
    color: #6c757d;
    font-size: 0.75rem;
    margin-left: 0.25rem;
}

.product-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
}

.product-status {
    margin-top: 0.25rem;
}

.item-description {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.item-name a {
    color: #2d3436;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.item-name a:hover {
    color: #6c5ce7;
    text-decoration: none;
}

.item-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 0.5rem;
}

.company-name {
    color: #74b9ff;
    font-weight: 500;
}

.item-company {
    font-size: 0.85rem;
    color: #636e72;
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .price-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
}

.stats-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
    font-size: 0.875rem;
}

.stat-item i {
    font-size: 1rem;
}

.store-stats {
    margin-top: 1rem;
}

/* التصميم الجديد الاحترافي للمنتجات */
.product-info-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 10px;
    margin: 0.75rem 0;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.product-info-card:hover {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-color: #6c5ce7;
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.1);
}

.product-meta-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.product-meta-right {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.product-rating-display {
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-badges-display {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.badge-featured {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: white;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}

.badge-bestseller {
    background: linear-gradient(135deg, #e17055, #ff7675);
    color: white;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}

.badge-new-arrival {
    background: linear-gradient(135deg, #00b894, #55efc4);
    color: white;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}

.badge-top-rated {
    background: linear-gradient(135deg, #fdcb6e, #ffeaa7);
    color: #2d3436;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}

.badge-discount {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}

.badge-sold-count {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    color: white;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}

.product-price-display {
    margin: 0;
    font-weight: 700;
    color: #2d3436;
    font-size: 1.1rem;
    line-height: 1.2;
}

.product-status {
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.1;
}

.status-out-of-stock {
    color: #dc3545;
}

.status-in-stock {
    color: #28a745;
}

/* حالة نفذ من المخزون فوق الصورة */
.item-img .product-status-simple.status-out-of-stock {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(220, 53, 69, 0.9);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 10;
    white-space: nowrap;
}

.rating-stars {
    color: #ffc107;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.rating-stars.empty {
    color: #dee2e6;
}

.rating-count {
    color: #6c757d;
    font-size: 0.75rem;
    margin-left: 4px;
}

/* التصميم الجديد المبسط للمنتجات */
.product-simple-info {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 0.5rem;
}

.product-simple-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.5rem 0;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.product-badges-simple {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.product-rating-simple {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.product-price-simple {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3436;
    text-align: left;
}

.product-status-simple {
    font-size: 0.8rem;
    font-weight: 500;
    text-align: left;
}

@media (max-width: 768px) {
    .product-simple-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    .product-price-simple {
        text-align: right;
    }
}

/* تكبير نصوص الفلاتر */
.filter-heading {
    font-size: 1.3rem !important;
}

.filter-title {
    font-size: 1.1rem !important;
}

.sidebar-shop .vs-radio-con .ml-50,
.sidebar-shop .vs-checkbox-con span {
    font-size: 1rem !important;
}

/* ====================================== */
/* تصميم التقييمات والأسئلة الأنيق */
/* ====================================== */

/* Section Headers */
#reviews-section, #questions-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 15px;
    padding: 2rem !important;
    margin: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

#reviews-section h4, #questions-section h4 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2d3436;
    position: relative;
    padding-bottom: 0.75rem;
}

#reviews-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #ffc107, #ffeaa7);
    border-radius: 3px;
}

#questions-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #00b894, #55efc4);
    border-radius: 3px;
}

/* Reviews Stats */
.reviews-stats {
    background: white !important;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.reviews-stats .progress {
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.reviews-stats .progress-bar {
    background: linear-gradient(90deg, #ffc107, #ffb300) !important;
    transition: width 0.6s ease;
}

/* Review Item Card */
.review-item {
    background: white;
    border: 1px solid #e9ecef !important;
    border-radius: 12px;
    padding: 1.5rem !important;
    margin-bottom: 1.25rem !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.review-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #ffc107, #ffeaa7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.review-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border-color: #ffc107 !important;
}

.review-item:hover::before {
    opacity: 1;
}

.review-item h6 {
    font-weight: 600;
    color: #2d3436;
    font-size: 1.1rem;
}

.review-item .badge-success {
    background: linear-gradient(135deg, #00b894, #55efc4);
    border: none;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 500;
}

.review-item .rating-stars i {
    font-size: 1rem;
    margin: 0 1px;
}

.review-item .admin-reply {
    background: linear-gradient(135deg, #f0f8ff, #e6f3ff) !important;
    border-right: 3px solid #00b894;
    border-radius: 8px;
    padding: 1rem !important;
}

.review-item .pros {
    background: #f0fff4;
    padding: 0.5rem;
    border-radius: 6px;
    border-right: 3px solid #00b894;
}

.review-item .cons {
    background: #fff5f5;
    padding: 0.5rem;
    border-radius: 6px;
    border-right: 3px solid #e74c3c;
}

.helpful-btn {
    border-radius: 20px;
    padding: 0.4rem 1rem;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    border: 1px solid #d0d0d0;
}

.helpful-btn:hover {
    background: #ffc107;
    border-color: #ffc107;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.helpful-btn.active {
    background: linear-gradient(135deg, #ffc107, #ffb300);
    border-color: #ffc107;
    color: white;
}

.helpful-btn i {
    font-size: 1rem;
}

/* Question Item Card */
.question-item {
    background: white;
    border: 1px solid #e9ecef !important;
    border-radius: 12px;
    padding: 1.5rem !important;
    margin-bottom: 1.25rem !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.question-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #00b894, #55efc4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.question-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border-color: #00b894 !important;
}

.question-item:hover::before {
    opacity: 1;
}

.question-item .badge-info {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    font-size: 0.875rem;
    padding: 6px 8px;
    border-radius: 6px;
    min-width: 28px;
}

.question-item .badge-success {
    background: linear-gradient(135deg, #00b894, #55efc4);
    font-size: 0.875rem;
    padding: 6px 8px;
    border-radius: 6px;
    min-width: 28px;
}

.question-item .answer-content {
    background: linear-gradient(135deg, #f0fff4, #e6fffa);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    border-right: 3px solid #00b894;
}

/* Empty States */
#no-reviews, #no-questions {
    padding: 3rem 2rem !important;
    background: white;
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

#no-reviews i, #no-questions i {
    color: #b2bec3;
}

#no-reviews p, #no-questions p {
    font-size: 1.1rem;
    color: #636e72;
}

/* ====================================== */
/* تصميم النماذج المنبثقة الاحترافي */
/* ====================================== */

/* Modal Container */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
    animation: modalSlideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Modal Header - تصميم أنيق مع gradient */
.modal-header {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
    padding: 1.75rem 2.25rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(106, 17, 203, 0.3);
}

.modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: headerShine 3s linear infinite;
}

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

.modal-header .modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 1;
    letter-spacing: 0.3px;
}

.modal-header .modal-title i {
    font-size: 2rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.modal-header .close {
    color: white;
    opacity: 0.8;
    text-shadow: none;
    transition: all 0.3s ease;
}

.modal-header .close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

/* Modal Body */
.modal-body {
    padding: 1.5rem 2.25rem;
    background: linear-gradient(135deg, #fdfbfb 0%, #f6f9fc 100%);
}

/* ====================================== */
/* تصميم تقييم النجوم الاحترافي */
/* ====================================== */

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 15px;
    padding: 1.25rem 0;
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cc 100%);
    border-radius: 15px;
    box-shadow: inset 0 2px 10px rgba(255, 193, 7, 0.15);
    margin: 0.4rem 0 0.8rem 0;
}

.star-rating input {
    display: none;
}

.star-rating label {
    cursor: pointer;
    font-size: 3.5rem;
    color: #e0e0e0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
    position: relative;
}

.star-rating label::after {
    content: '★';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #ffc107;
    transform: scale(1.25) rotate(10deg);
    filter: drop-shadow(0 6px 12px rgba(255, 193, 7, 0.4));
}

.star-rating label:hover::after,
.star-rating label:hover ~ label::after {
    opacity: 1;
}

.star-rating input:checked ~ label {
    color: #ffc107;
    transform: scale(1.1);
    filter: drop-shadow(0 4px 10px rgba(255, 193, 7, 0.5));
}

.star-rating input:checked ~ label::after {
    opacity: 1;
}

.star-rating label:hover i,
.star-rating input:checked ~ label i {
    animation: starBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes starBounce {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.3) rotate(-10deg); }
    50% { transform: scale(1.2) rotate(10deg); }
    75% { transform: scale(1.3) rotate(-5deg); }
}

/* Rating Description */
.star-rating-description {
    text-align: center;
    margin-top: 0.8rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #2575fc;
    min-height: 32px;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(37, 117, 252, 0.1);
}

/* Modal Footer */
.modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 1.15rem 2.25rem;
    background: linear-gradient(135deg, #fafbfc 0%, #f7f9fb 100%);
    border-radius: 0 0 20px 20px;
}

/* ====================================== */
/* تصميم الحقول الاحترافي */
/* ====================================== */

/* Form Group */
.modal-body .form-group {
    margin-bottom: 1rem;
    position: relative;
}

.modal-body .form-group label {
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.6rem;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-body .form-group label i {
    font-size: 1.25rem;
    color: #2575fc;
}

.modal-body .form-group label .text-danger {
    color: #e74c3c;
    font-size: 1.1rem;
}

/* Input Fields */
.modal-body .form-control {
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    padding: 0.85rem 1.15rem;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    color: #2d3748;
}

.modal-body .form-control:hover {
    border-color: #cbd5e0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.modal-body .form-control:focus {
    border-color: #2575fc;
    box-shadow: 0 0 0 4px rgba(37, 117, 252, 0.15), 0 4px 16px rgba(37, 117, 252, 0.2);
    background: white;
    transform: translateY(-1px);
}

/* Textarea */
.modal-body textarea.form-control {
    resize: vertical;
    min-height: 100px;
    line-height: 1.65;
}

/* Input Icons */
.modal-body .input-icon {
    position: relative;
}

.modal-body .input-icon i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    font-size: 1.1rem;
}

.modal-body .input-icon .form-control {
    padding-right: 45px;
}

/* Form Text / Small */
.modal-body .form-text,
.modal-body small {
    font-size: 0.95rem;
    color: #718096;
    margin-top: 0.45rem;
    display: block;
}

/* Character Counter */
.modal-body .form-text span {
    font-weight: 600;
    color: #667eea;
}

/* Alert Info */
.modal-body .alert-light-info {
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
    border: 2px solid #93c5fd;
    border-radius: 12px;
    padding: 1.1rem 1.35rem;
    color: #1e3a8a;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.02rem;
}

.modal-body .alert-light-info i {
    font-size: 1.65rem;
    color: #2563eb;
    flex-shrink: 0;
}

/* Star Rating Interactive */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 8px;
    padding: 1rem 0;
}

.star-rating input {
    display: none;
}

.star-rating label {
    cursor: pointer;
    font-size: 2.5rem;
    color: #dee2e6;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #ffc107;
    transform: scale(1.2);
    filter: drop-shadow(0 4px 8px rgba(255, 193, 7, 0.4));
}

.star-rating input:checked ~ label {
    color: #ffc107;
    filter: drop-shadow(0 4px 8px rgba(255, 193, 7, 0.5));
}

/* ====================================== */
/* تصميم الأزرار الاحترافي */
/* ====================================== */

/* Primary Button */
.modal-footer .btn-primary,
.modal-body .btn-primary {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border: none;
    border-radius: 12px;
    padding: 0.85rem 2rem;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 6px 20px rgba(106, 17, 203, 0.35);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.modal-footer .btn-primary::before,
.modal-body .btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.modal-footer .btn-primary:hover,
.modal-body .btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.modal-footer .btn-primary:hover::before,
.modal-body .btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.modal-footer .btn-primary:active,
.modal-body .btn-primary:active {
    transform: translateY(-1px) scale(1.02);
}

/* Info Button */
.modal-footer .btn-info,
.modal-body .btn-info {
    background: linear-gradient(135deg, #00b894 0%, #55efc4 100%);
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 6px 20px rgba(0, 184, 148, 0.3);
    position: relative;
    overflow: hidden;
}

.modal-footer .btn-info::before,
.modal-body .btn-info::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.modal-footer .btn-info:hover,
.modal-body .btn-info:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 184, 148, 0.4);
}

.modal-footer .btn-info:hover::before,
.modal-body .btn-info:hover::before {
    width: 300px;
    height: 300px;
}

/* Outline Buttons */
.modal-footer .btn-outline-secondary,
.modal-footer .btn-outline-primary,
.modal-footer .btn-outline-info {
    border-width: 2px;
    border-radius: 10px;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-footer .btn-outline-secondary {
    border-color: #cbd5e0;
    color: #4a5568;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.85rem 2rem;
    border-radius: 12px;
}

.modal-footer .btn-outline-secondary:hover {
    background: #edf2f7;
    border-color: #a0aec0;
    color: #2d3748;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 85, 104, 0.15);
}

.modal-footer .btn-outline-primary:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.3);
}

.modal-footer .btn-outline-info:hover {
    background: linear-gradient(135deg, #00b894 0%, #55efc4 100%);
    border-color: #00b894;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 184, 148, 0.3);
}

/* Button Icons */
.modal-footer .btn i,
.modal-body .btn i {
    margin-left: 10px;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.modal-footer .btn:hover i,
.modal-body .btn:hover i {
    transform: translateX(-3px);
}

/* Row for inline fields */
.modal-body .row .form-group {
    margin-bottom: 1.25rem;
}

@media (max-width: 767px) {
    .modal-body .row > div {
        margin-bottom: 0.5rem;
    }
}

/* Legacy Button Styles (for non-modal buttons) */
.btn-primary:not(.modal-footer .btn-primary):not(.modal-body .btn-primary) {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.2);
}

.btn-primary:not(.modal-footer .btn-primary):not(.modal-body .btn-primary):hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(108, 92, 231, 0.3);
}

.btn-info:not(.modal-footer .btn-info):not(.modal-body .btn-info) {
    background: linear-gradient(135deg, #00b894, #55efc4);
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 184, 148, 0.2);
}

.btn-info:not(.modal-footer .btn-info):not(.modal-body .btn-info):hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 184, 148, 0.3);
}

.btn-outline-primary:not(.modal-footer .btn-outline-primary), 
.btn-outline-info:not(.modal-footer .btn-outline-info) {
    border-width: 2px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:not(.modal-footer .btn-outline-primary):hover {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    border-color: #6c5ce7;
    transform: translateY(-2px);
}

.btn-outline-info:not(.modal-footer .btn-outline-info):hover {
    background: linear-gradient(135deg, #00b894, #55efc4);
    border-color: #00b894;
    transform: translateY(-2px);
}


/* Question and Answer Badges */
.question-badge, .answer-badge {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    margin-left: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.question-badge {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    color: white;
}

.answer-badge {
    background: linear-gradient(135deg, #00b894, #55efc4);
    color: white;
}

/* Avatar Circle */
.avatar {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    #reviews-section, #questions-section {
        padding: 1.25rem !important;
    }
    
    .review-item, .question-item {
        padding: 1rem !important;
    }
    
    .star-rating label {
        font-size: 2rem;
    }
    
    .question-badge, .answer-badge {
        min-width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }
}
