/* Review Container */
.review {
    color: #fff;
    padding: 40px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.mt-32 {
    margin-top: 32px;
}

.mb-16 {
    margin-bottom: 16px;
}

.fs-4 {
    font-size: 1.5rem;
    font-weight: 600;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -8px;
}

.row-gap-16 {
    gap: 16px;
}

.col-md-4 {
    flex: 0 0 33.333%;
    padding: 0 8px;
}

.col-md-8 {
    flex: 0 0 66.667%;
    padding: 0 8px;
}

/* Review Summary */
.review-summary {
    background: #2d2d2d;
    padding: 30px;
    border-radius: 12px;
}

.review-summary-rating {
    text-align: center;
    margin-bottom: 15px;
}

.rating-value {
    font-size: 3.5rem;
    font-weight: bold;
    color: #ffc107;
}

.review-summary-stars {
    text-align: center;
    margin-bottom: 10px;
}

.star-rating {
    display: inline-flex;
    gap: 4px;
}

.star {
    font-size: 1.5rem;
    color: #ffc107;
}

.star-full {
    color: #ffc107;
}

.star-empty {
    color: #555;
}

.review-summary-text {
    text-align: center;
    color: #aaa;
    margin-bottom: 20px;
}

/* Rating Bars */
.review-summary-percentages {
    margin-top: 20px;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.bar-label {
    width: 80px;
    font-size: 0.9rem;
    color: #ccc;
}

.bar-background {
    flex: 1;
    height: 8px;
    background: #444;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.bar-percent {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: #ffc107;
    transition: width 0.3s ease;
}

.bar-text {
    width: 45px;
    text-align: right;
    font-size: 0.9rem;
    color: #aaa;
}

/* Review Form */
.review-form {
    background: #2d2d2d;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: #1a1a1a;
    border: 1px solid #444;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #ffc107;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Star Rating Input */
.star-rating-input {
    margin-top: 10px;
}

.stars-input {
    display: inline-flex;
    gap: 8px;
    cursor: pointer;
}

.star-input {
    font-size: 2rem;
    color: #555;
    transition: color 0.2s;
}

.star-input:hover,
.star-input.active {
    color: #ffc107;
}

/* Submit Button */
.btn-submit {
    background: #dc3545;
    color: #fff;
    padding: 12px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #c82333;
}

.btn-submit:disabled {
    background: #666;
    cursor: not-allowed;
}

/* Reviews List */
.reviews-list {
    background: #2d2d2d;
    padding: 30px;
    border-radius: 12px;
}

.review-item {
    padding: 20px 0;
    border-bottom: 1px solid #444;
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.review-author {
    font-weight: 600;
    color: #fff;
    font-size: 1.1rem;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
}

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

.review-stars .star {
    font-size: 1rem;
}

.review-date {
    color: #aaa;
    font-size: 0.9rem;
}

.review-content {
    color: #ccc;
    line-height: 1.6;
}

.no-reviews {
    text-align: center;
    color: #aaa;
    padding: 40px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .col-md-4,
    .col-md-8 {
        flex: 0 0 100%;
        margin-bottom: 20px;
    }

    .rating-value {
        font-size: 2.5rem;
    }

    .review-form,
    .reviews-list {
        padding: 20px;
    }
}