.feedback{
    position: relative;
    width: 100%;
    height: fit-content;
    align-content: center;
}

.feed-cont{
    width: 90%;
    height: fit-content;
    margin: 0 auto;
}

.feed-rem{
    position: relative;
    color: #CC3A40;
    font-weight: 500;
    text-align: center;
    margin: 1.5rem;
    font-style: italic;
    font-size: .8rem;
}

.feed-form{
    box-shadow: 0 0 3px 0 rgb(31, 31, 31, .25);
    margin: 1rem auto;
    padding: 1rem;
    border-radius: 10px;
    font-size: .9rem;
    height: fit-content;
}

.feed-form div:not(div.feed-drop, .feed-drop div){
    padding: .3rem;
}

.feed-form div span:first-child:not(.send span){
    color: #CC3A40;
}

.feed-form{
    /* background-color: #CC3A40; */
    display: block;
    margin: 0 auto;
    width: fit-content;
    border-top: 20px #1f1f1f solid;
    border-bottom: 5px #1f1f1f solid;
}

.feed-type{
    position: relative;
    display: inline-flex;
    width: 100%;
    margin: .4rem;
    z-index: 4;
}

.feed-facility{
    position: relative;
    display: inline-flex;
    width: 100%;
    margin: .4rem;
}

.feed-type span, .feed-facility span{
    text-align: right;
}

.feed-drop{
    position: absolute;
    width: 7rem;
    font-size: .9rem;
    border-radius: 5px;
    user-select: none;
    margin: auto .3rem;
    box-shadow: 0 0px 3px 0 rgb(31, 31, 31, .25);
    margin: 0 4.5rem;
    background-color: #fdfdfd;
}

.feed-facility .feed-drop:hover,
.feed-type .feed-drop:hover{
    box-shadow: 0 0px 3px 0 rgb(31, 31, 31, .50);
}

.feed-opt{
    display: none;
}

.feed-drop div:not(div.feed-opt){
    padding: .1rem .4rem;
}

.feed-drop img{
    position: relative;
    float: right;
    width: .75rem;
    vertical-align: middle;
    margin: .4rem .3rem .3rem 0;
    rotate: 0deg;
    transition: all .1s ease-in-out;
    z-index: 1;
}

.feed-selected{
    position: relative;
    z-index: 2;
}

.feed-type .feed-drop{
    margin: 0 3.5rem;
}

.feed-facility .feed-drop{
    width: 10rem;
}

.feed-opt .option:last-child{
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.feed-opt .option.select{
    background-color: skyblue;
}

.feed-opt .option:hover{
    background-color: rgb(135, 206, 235, .25);
}

.email{
    margin: .4rem;
}

.rating{
    margin: .4rem;
    user-select: none;
}

.rating span:not(span:first-child){
    color: gray;
}

.rating span.rate1{
    color: #CC3A40 !important;
}

.rating span.rate2{
    color: #F2A332 !important;
}

.rating span.rate3{
    color: #F0D25D !important;
}

.rating span.rate4{
    color: #C6D98C !important;
}

.rating span.rate5{
    color: #6DA06C !important;
}

.feed-content{
    width: fit-content;
}

.feed-content textarea{
    margin: .7rem auto;
    resize: none;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 3px 0 inset rgb(31, 31, 31, .25);
    border: 1px rgb(31, 31, 31, .20) solid;
    padding: .8rem;
}

.send{
    text-align: right;
    user-select: none;
}

.send span{
    padding: .4rem .9rem;
    border-radius: 30px;
    background-color: #1f1f1f;
    color: #fdfdfd;
}

.send span:hover{
    font-weight: 600;
    padding: .45rem .95rem;
    box-shadow: 0 0 3px 0 rgb(31, 31, 31, .25);
}

/* faqs */

.faq{
    margin: 3rem auto;
    width: 100%;
    height: fit-content;
}

.faq .questions{
    width: fit-content;
    background-color: #fdfdfd;
    margin: 0 auto;
    box-shadow: inset 0 0 3px 0 rgb(31, 31, 31, .20);
    padding: .5rem;
    border-radius: 10px;
}

.faq .questions span:first-child:not(p#ans span){
    display: block;
    color: #CC3A40;
    font-weight: 600;
    padding: 1rem;
    text-align: center;
    border-bottom: 3px solid #1f1f1f;
}

.faq .questions p{
    display: block;
    width: 100%;
    padding: 1rem;
    font-size: .9rem;
}

.faq .questions p#ques{
    font-weight: 500;
}

.faq .questions p#ans span{
    text-indent: 1rem;
    font-size: .85rem;
    padding-left: 2rem;
}

/* faqs end */


/* feedback */
div.feedbacks{
    position: relative;
    display: flex;
    flex-direction: column;
    width: 50%;
    height: 70vh;
    top: 1rem;
    box-shadow: 0 0 3px 4px rgb(31, 31, 31, .1);
    border-radius: 10px;
    margin: 0 auto;
    padding: 1rem;
    border-top: 15px solid #1f1f1f;
    border-bottom: 3px solid #1f1f1f;
    min-width: 20rem;
}

div.caption{
    width: 100%;
    /* padding: 1rem; */
}

div.caption table{
    width: 100%;
    font-size: .9rem;
    padding-bottom: .5rem;
}

div.caption table tr td{
    padding: .5rem 1rem;
}

div.caption table tr:last-child td{
    text-align: right;
}

div.caption table tr td span{
    color: #CC3A40;
}

div.feedbacks div.content{
    display: block;
    width: 100%;
    flex-grow: 1;
    box-shadow: 0 0 3px 4px rgb(31, 31, 31, .05) inset;
    border-radius: 10px;
    overflow: auto;
}

div.feedbacks div.content::-webkit-scrollbar{
    background-color: transparent;
    width: 8px;
}

div.feedbacks div.content::-webkit-scrollbar-thumb{
    background-color: rgb(31, 31, 31, .3);
    border-radius: 10px;
}

div.feedbacks div.content div.replies{
    font-size: .8rem;
    padding: 1rem;
    height: min-content;
}

div.feedbacks div.content div.replies div.you span#tag{
    display: block;
    font-size: .7rem;
}

div.feedbacks div.content div.replies div.you span#message{
    display: block;
    padding: .8rem;
    word-wrap: break-word;
    width: 80%;
    min-width: 10rem;
}

div.feedbacks div.content div.replies div.admin span#tag{
    display: block;
    font-size: .7rem;
    text-align: right;
}

div.feedbacks div.content div.replies div.admin span#message{
    display: block;
    background-color: rgba(185, 203, 210, 0.8);
    padding: .8rem;
    word-wrap: break-word;
    width: 80%;
    min-width: 10rem;
    border-radius: 10px;
    box-shadow: 0 0 5px 3px rgb(31, 31, 31, .05);
    float: right;
}
/* end feedback */