/* assets/css/review.css */

/* ---------- Container ---------- */
.product-review {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.07);
    backdrop-filter: blur(8px);
}

/* ---------- Title ---------- */
.product-review h5 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: #2c3e50;
}

/* ---------- Rating selector ---------- */
.review-form select {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.45rem 0.8rem;
    margin-right: 0.5rem;
    appearance: none;
    cursor: pointer;
}

/* ---------- Textarea ---------- */
.review-form textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.75rem;
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
    margin-top: 0.5rem;
}

/* ---------- Submit button ---------- */
.review-form button {
    margin-top: 0.8rem;
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.review-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,126,95,0.3);
}

/* ---------- Existing review display ---------- */
.existing-review {
    background: #fafafa;
    border-left: 4px solid #ff7e5f;
    border-radius: 6px;
    padding: 0.8rem 1rem;
    margin-top: 0.8rem;
}
.existing-review strong {
    color: #333;
}
.existing-review p {
    margin-top: 0.4rem;
    line-height: 1.45;
    color: #555;
}

/* ---------- Star rating display ---------- */
.rating-stars {
    color: #ffb400;
    font-size: 1rem;
    margin-left: 0.2rem;
}
