﻿.danh_gia-chung .feedback .rating {
    display: flex;
    width: 100%;
    justify-content: center;
    overflow: hidden;
    flex-direction: row-reverse;
    position: relative;
}

.danh_gia-chung .feedback .rating-0 {
    filter: grayscale(100%);
}

.danh_gia-chung .feedback .rating > input {
    display: none;
}

.danh_gia-chung .feedback .rating > label {
    cursor: pointer;
    width: 40px;
    height: 40px;
    margin-top: auto;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='126.729' height='126.73'%3e%3cpath fill='%23e3e3e3' d='M121.215 44.212l-34.899-3.3c-2.2-.2-4.101-1.6-5-3.7l-12.5-30.3c-2-5-9.101-5-11.101 0l-12.4 30.3c-.8 2.1-2.8 3.5-5 3.7l-34.9 3.3c-5.2.5-7.3 7-3.4 10.5l26.3 23.1c1.7 1.5 2.4 3.7 1.9 5.9l-7.9 32.399c-1.2 5.101 4.3 9.3 8.9 6.601l29.1-17.101c1.9-1.1 4.2-1.1 6.1 0l29.101 17.101c4.6 2.699 10.1-1.4 8.899-6.601l-7.8-32.399c-.5-2.2.2-4.4 1.9-5.9l26.3-23.1c3.8-3.5 1.6-10-3.6-10.5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 76%;
    transition: .3s;
}

.danh_gia-chung .feedback .rating > input:checked ~ label,
.danh_gia-chung .feedback .rating > input:checked ~ label ~ label {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='126.729' height='126.73'%3e%3cpath fill='%23fcd93a' d='M121.215 44.212l-34.899-3.3c-2.2-.2-4.101-1.6-5-3.7l-12.5-30.3c-2-5-9.101-5-11.101 0l-12.4 30.3c-.8 2.1-2.8 3.5-5 3.7l-34.9 3.3c-5.2.5-7.3 7-3.4 10.5l26.3 23.1c1.7 1.5 2.4 3.7 1.9 5.9l-7.9 32.399c-1.2 5.101 4.3 9.3 8.9 6.601l29.1-17.101c1.9-1.1 4.2-1.1 6.1 0l29.101 17.101c4.6 2.699 10.1-1.4 8.899-6.601l-7.8-32.399c-.5-2.2.2-4.4 1.9-5.9l26.3-23.1c3.8-3.5 1.6-10-3.6-10.5z'/%3e%3c/svg%3e");
}


.danh_gia-chung .feedback .rating > input:not(:checked) ~ label:hover,
.danh_gia-chung .feedback .rating > input:not(:checked) ~ label:hover ~ label {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='126.729' height='126.73'%3e%3cpath fill='%23d8b11e' d='M121.215 44.212l-34.899-3.3c-2.2-.2-4.101-1.6-5-3.7l-12.5-30.3c-2-5-9.101-5-11.101 0l-12.4 30.3c-.8 2.1-2.8 3.5-5 3.7l-34.9 3.3c-5.2.5-7.3 7-3.4 10.5l26.3 23.1c1.7 1.5 2.4 3.7 1.9 5.9l-7.9 32.399c-1.2 5.101 4.3 9.3 8.9 6.601l29.1-17.101c1.9-1.1 4.2-1.1 6.1 0l29.101 17.101c4.6 2.699 10.1-1.4 8.899-6.601l-7.8-32.399c-.5-2.2.2-4.4 1.9-5.9l26.3-23.1c3.8-3.5 1.6-10-3.6-10.5z'/%3e%3c/svg%3e");
}

.header {
    float: left;
    padding-left: 10px;
}

.binhluan{
    display:flex;
    flex-direction:column;
    width:100%;
}

.input {
    padding: 10px;
    margin-right:5px;
}
.capcha-danhgia {
    display: flex;
    width: 99%;
}
.textarea-commen {
    width: 99%;
    /*   height: 100px;*/
    border: 1px solid #4e4e4e70;
    border-radius: 4px;
    font-size: 16px;
    outline: none;
}
.text {
    width: 100%;
    height: 40px;
    /*border: 1px solid #4e4e4e70;*/
    border-radius: 4px;
    outline: none;
    margin-top: 10px;
    font-size: 16px;
}
.inputProfile {
    display: flex;
}
    .inputProfile .input_left {
        margin-right: 10px;
    }
    .ma_bao_ve {
    display: flex;
    width: 100%;
    align-items: center;
}

.text_capcha {
    flex: 1;
    height: 40px;
    border: 1px solid #4e4e4e70;
    border-radius: 4px;
    outline: none;
    font-size: 16px;
    margin-left: 5px;
}

.reset_capcha {
    margin-right: 10px;
    border: none !important; 
    background-color: transparent !important;
}

.btn_danhgia {
    width: 28%;
    display: flex;
}

.submit {
    width: 100%;
    margin: 10px;
}

.tat_ca_danh-gia {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 10px;
 
}

.emoji-wrapper {
    width: 100%;
    text-align: center;
    height: 100px;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

    .emoji-wrapper:before,
    .emoji-wrapper:after {
        content: "";
        height: 15px;
        width: 100%;
        position: absolute;
        left: 0;
        z-index: 1;
    }

    .emoji-wrapper:before {
        top: 0;
        background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 35%,rgba(255,255,255,0) 100%);
    }

    .emoji-wrapper:after {
        bottom: 0;
        background: linear-gradient(to top, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 35%,rgba(255,255,255,0) 100%);
    }

.emoji {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: .3s;
}

    .emoji > svg {
        margin: 15px 0;
        width: 70px;
        height: 70px;
        flex-shrink: 0;
    }

#rating-1:checked ~ .emoji-wrapper > .emoji {
    transform: translateY(-100px);
}

#rating-2:checked ~ .emoji-wrapper > .emoji {
    transform: translateY(-200px);
}

#rating-3:checked ~ .emoji-wrapper > .emoji {
    transform: translateY(-300px);
}

#rating-4:checked ~ .emoji-wrapper > .emoji {
    transform: translateY(-400px);
}

#rating-5:checked ~ .emoji-wrapper > .emoji {
    transform: translateY(-500px);
}

.danh_gia-chung .feedback {
    width: 100%;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

@media  (max-width:739px) {
    .ma_bao_ve {
        display:block;
    }

    .text_capcha {
        width: 93%;
        margin-bottom: 10px;
        margin-left:0;
    }

    .submit {
        padding: 12px 0;
    }

    .banner_content{
        display:none;
    }

    .banner .logo img {
        height: 100%;
    }
    .option-ship {
        display: flex;
        flex-direction: column;
    }
}
