/* Star Rating Styles */
.star-rating-interactive {
    display: flex;
    align-items: center;
    gap: 8px;
}

.star-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
}

.star-btn:hover {
    transform: scale(1.2);
}

.star-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.25);
}

.star-display {
    display: flex;
    align-items: center;
}

.fa-star,
.fa-star-half-alt {
    color: #ffc107;
}

/* Review Card Styles */
.review-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: white;
    transition: box-shadow 0.2s ease;
}

.review-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.review-date {
    color: #6c757d;
    font-size: 0.875rem;
}

.review-content {
    margin-top: 1rem;
}

.review-content p {
    margin-bottom: 0;
    line-height: 1.6;
}

/* Supplier Store Image */
.store-image-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.store-image {
    width: 100%;
    height: 400px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}


.supplier-info-section {
    background: #f8fff9;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.quantity-label {
    font-weight: 600;
    color: #2d5549;
    font-size: 16px;
    margin-bottom: 8px;
    display: block;
}

.supplier-detail-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eaeaea;
}

.supplier-detail-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.nav-tabs .nav-link {
    margin: 0px 8px;
    font-size: 18px;
    font-weight: 600;
    color: #555;
    border: 2px solid transparent;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-link:hover {
    border: 2px solid #4b7064;
    border-radius: 15px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

/* Tab Content */
.tab-content {
    background: white;
    border-radius: 0 0 12px 12px;
    padding: 30px;
    margin-top: -2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .star-rating-interactive .fa-2x {
        font-size: 1.5rem;
    }

    .review-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .store-image {
        height: 300px;
    }

    .nav-tabs .nav-link {
        padding: 8px 16px;
        font-size: 14px;
    }

    .tab-content {
        padding: 20px;
    }
}

/* Green Text Style */
.green-text {
    color: #4b7064;
    font-weight: bold;
}

/* Section Title */
.section-title h2 {
    color: #333;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2:after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #4b7064, #2d5549);
    border-radius: 3px;
}

/* Badge Styling */
.badge {
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 20px;
}
