/***************************** Stars ***********************/
fieldset, label { margin: 0; padding: 0; }

.stars {
    display: flex;
    justify-content: center;
    margin: 20px 0 40px;
}
/****** Style Star Rating Widget *****/
.rating {
    border: none;
    float: left;
    margin: 0;
}

.rating > input { display: none; }
.rating > label:before {
    margin: 0 10px;
    font-size: 2.5em;
    font-family: "Font Awesome 5 Free";
    display: inline-block;
    content: "\f005";
    font-weight: 900;
    cursor: pointer;
}

.rating > .half:before {
    content: "\f089";
    position: absolute;
}

.rating > label {
    color: #ddd;
    float: right;
}

/***** CSS Magic to Highlight Stars on Hover *****/

.rating > input:checked ~ label, /* show gold star when clicked */
.rating:not(:checked) > label:hover, /* hover current star */
.rating:not(:checked) > label:hover ~ label { color: #FFD700;  } /* hover previous stars in list */

.rating > input:checked + label:hover, /* hover current star when changing rating */
.rating > input:checked ~ label:hover,
.rating > label:hover ~ input:checked ~ label, /* lighten current selection */
.rating > input:checked ~ label:hover ~ label { color: #FFED85;  }


.form_label {
    margin-top: 25px;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--black);
}

.form_field {
    color: var(--form-grey);
    background-color: transparent;
    border: solid 2px var(--form-grey);
    height: 46px;
    width: 100%;
    padding-left: 15px;
    font-size: 16px;
    box-sizing: border-box;
    outline: none;
    font-family: 'Roboto', sans-serif !important;
}

.form_textarea {
    min-height: 160px;
    height: 160px;
    min-width: 100%;
    width: 100%;
    max-width: 100%;
    max-height: 260px;
    padding: 10px 15px;
    line-height: 1.4;
    font-family: 'Roboto', sans-serif !important;
}

.form_field::placeholder {
    color: var(--form-grey);
}

.form_field:focus,
.form_field:active {
    outline: none;
}

.modal .review_buttons {
    margin-top: 20px;
    justify-content: space-between;
    width: 100%;
}

.disabled {
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.3;
}

.modal .buttons_container {
    flex-direction: row;
    justify-content: flex-end;
    width: 100%;
}

.modal .buttons_container .button,
.modal .buttons_container .button_2 {
    width: max-content;
    margin-top: 0;
}

@media (max-width: 650px) {
    .modal .buttons_container {
        flex-direction: column;
    }

    .modal .review_buttons .button_2 {
        width: 100%;
    }
}