/* public/css/review-modal.css */

/* ==== Модалка отзыва ==== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 11000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.4);
    font-family: inherit;
}

.modal__content {
    background: #ffffff;
    border-radius: 20px;
    padding: 18px 16px 14px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(15,23,42,0.45);
}

.modal__content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.modal .form-group {
    margin-bottom: 10px;
    font-size: 13px;
}

.modal .form-group label {
    display: block;
    margin-bottom: 4px;
    color: #4b5563;
}

.modal textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    padding: 8px 10px;
    font-size: 14px;
    resize: vertical;
}

/* звездочки выбора рейтинга */
.rating-stars {
    display: flex;
    gap: 4px;
    font-size: 22px;
    cursor: pointer;
}

.rating-stars span {
    color: #d1d5db;
    transition: color .15s ease;
}

.rating-stars span.active {
    color: #f97316;
}

/* кнопки в модалке отзыва */
.modal .btn {
    border-radius: 999px;
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    font-size: 13px;
}

.modal .btn.btn-dark {
    background: #374151;
    color: #fff;
    margin-right: 8px;
}

.modal .btn:not(.btn-dark) {
    background: #e5e7eb;
    color: #111827;
}
