/* Seção de Avaliações e Comentários */
.product-reviews-section {
    padding: 30px 0;
}

.product-reviews-section h3 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
}

/* Resumo de Avaliação */
.rating-summary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.rating-summary h2 {
    font-size: 48px;
    font-weight: 700;
    margin: 0;
    color: white;
}

.rating-summary .rating-stars {
    font-size: 28px;
    color: #ffd700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Formulário de Comentário */
.comment-form {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.comment-form h5 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.comment-form .form-group label {
    font-weight: 600;
    color: #555;
    margin-bottom: 10px;
}

.comment-form textarea {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.comment-form textarea::placeholder {
    color: #888;
}

.comment-form textarea:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Sistema de Estrelas */
.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.rating-input input {
    display: none;
}

.rating-input label {
    color: #ddd;
    cursor: pointer;
    font-size: 32px;
    transition: all 0.2s ease;
}

.rating-input label:hover,
.rating-input label:hover~label,
.rating-input input:checked~label {
    color: #ffc107;
    transform: scale(1.1);
}

/* Lista de Comentários */
.comments-list h5 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
}

.comment-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
}

.comment-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.comment-item strong {
    font-size: 16px;
    color: #333;
}

.comment-item .rating-stars {
    color: #ffc107;
    font-size: 18px;
    margin-top: 5px;
}

.comment-item p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-top: 15px;
}

/* Resposta do Admin */
.admin-response {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left: 4px solid #2196f3;
    border-radius: 8px;
    padding: 20px;
    margin-top: 15px;
}

.admin-response strong {
    color: #1976d2;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-response p {
    color: #424242;
    margin-top: 10px;
    margin-bottom: 0;
}

/* Alertas */
.alert {
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
}

.alert i {
    margin-right: 8px;
}

/* Estado Vazio */
.text-center.py-5 i {
    opacity: 0.3;
}

/* Responsivo */
@media (max-width: 768px) {
    .rating-summary {
        margin-bottom: 20px;
    }

    .comment-form {
        padding: 20px;
    }

    .comment-item {
        padding: 20px;
    }

    .rating-input label {
        font-size: 28px;
    }
}