.review-form-wrapper {
    position: relative;
    width: 100%;
    margin: 20px auto;
}

.review-form-overlay {
    display: none;
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, .25);
}

.review-form-overlay.in {
    display: block;
}

.review-form-overlay-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.review-form-overlay-spinner-circle {
    width: 40px;
    height: 40px;
    border: 4px solid #ccc;
    border-top-color: #1d72b8;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.star-rating {
    direction: rtl;
    unicode-bidi: bidi-override;
    display: inline-flex;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 2rem;
    color: #ccc;
    cursor: pointer;
    transition: color .2s;
}

.review-form-column input, .review-form-column textarea, .review-form-column select {
    width: 100%;
}

.review-form-submit-btn {
    padding: 10px 20px;
    background-color: #1d72b8;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 0 auto;
    width: 100%;
}

.review-form-wrapper input {
    box-sizing: border-box;
    padding: 8px;
    margin-top: 4px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.review-form-wrapper textarea {
    box-sizing: border-box;
    padding: 8px;
    margin-top: 4px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    resize: vertical;
}

.review-form-wrapper select {
    box-sizing: border-box;
    padding: 8px;
    margin-top: 4px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.review-form-wrapper input.disabled {
    background-color: #f0f0f0;
    cursor: not-allowed;
    pointer-events: none;
}

.review-form-wrapper .row-feedback {
    display: none;
}

.review-form-wrapper .row-feedback.in {
    display: block;
    font-size: 1.0rem;
    color: red;
}

.review-form-container {
    margin-top: 20px;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.2);
}

.review-form-container {
    border: 1px solid #ccc;
    padding: 20px;
    background-color: #f9f9f9;
    /*border-radius: 8px;*/

    margin: 0 auto;
}

.review-form-row {
    display: flex;
    margin-bottom: .5rem;
}

.review-form-column {
    flex: 1;
    padding: .25rem 1rem;
    /*border: 1px solid #ccc;*/
    box-sizing: border-box;
}

.review-form-column + .review-form-column {
    margin-left: 1rem;
}


.star-rating input:checked ~ label {
    color: gold;
}

.star-rating label:hover,
.star-rating label:hover ~ label {
    color: gold;
}