#product-rating-modal {
    min-width: 400px;
    max-width: 500px;
}
#product-rating-modal-body {
    font-family: var(--font-base);
}
.modal-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid #cccccc;
    padding-bottom: 10px;
}
.modal-close-button {
    cursor: pointer;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: bold;
}
.modal-header-title {
    font-size: 18px;
    font-weight: bold;
    font-family: var(--font-title);
}
#product-infos {
    display: flex;
    align-items: center;
    padding: 20px 0;
}
#product-infos .product-infos-image {
    width: 60px;
    height: 60px;
    margin-right: 15px;
}
#product-infos .product-infos-title {
    font-size: 18px;
    font-weight: bold;
    font-family: var(--font-title);
}
#form-rating {
    padding: 10px 0
}
#form-rating .label-form-inputs {
    font-size: 14px;
    font-weight: bold;
}
#form-rating .form-input {
    width: 48%;
    padding-bottom: 10px;
}
.form-inputs {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.form-inputs input[id^="rating"] {
    padding: 10px;
}
#submit-rating-form {
    display: flex;
    justify-content: flex-end;
    padding-top: 15px;
}
#btn-submit-rating {
    cursor: pointer;
    background: var(--btn-detail-color);
    color: var(--menu-text-color);
    border: none;
    padding: 10px 10px;
    min-height: 35px;
}
svg.star-svg {
    padding-right: 5px;
}
#box-rating-stars p {
    font-weight: bold;
    margin-bottom: 10px;
}
span.style-module_tooltip__tKc3i.react-simple-star-rating-tooltip {
    display: none;
}
#box-rating-stars > span:hover .react-simple-star-rating-tooltip{
    display: inline-block;
}
.ReactModalPortal > div {
    background: rgba(0, 0, 0, 0.5) !important;
}

.error-message {
    color: red;
}
.d-none {
    display: none;
}
#flashMessage .close-msg {
    background: url("../../../img/backend/icons/close-button.svg") no-repeat center center;
    background-size: 20px;
    width: 20px;
    height: 20px;
}

@media screen and (max-width: 768px) {
    .form-inputs {
        flex-direction: column;
    }
    #form-rating .form-inputs .form-input {
        width: 100%;
    }
    .react-simple-star-rating-tooltip {
        padding: 5px 10px;
    }
    #btn-submit-rating {
        width: 100%;
    }
    .modal-header-title {
        font-size: 13px;
    }
    #product-infos .product-infos-title {
        font-size: 14px;
        word-break: break-all;
    }
    #product-rating-modal {
        min-width: 350px;
        max-width: 100%;
    }
    #btn-open-modal-comment {
        width: 100%;
    }
    #btn-open-modal-comment:focus {
        background: var(--base-color);
    }
    #flashMessage .close-msg {
        background: url("../../../img/backend/icons/close-button.svg") no-repeat center center;
        background-size: 25px;
        width: 20px;
        height: 20px;
    }
    .form-input.name {
        order: 1;
    }
    .form-input.email {
        order: 2;
    }
    .form-input.city {
        order: 3;
    }
    .form-input.title {
        order: 4;
    }
}