﻿#panelReviewuri {
    background-color: #F9FAFB;
    margin: 0;
}

.divContainerReviewuri {
    height: 100%;
    padding: 30px;
}

#upRev {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.divBarsProcente {
    height: 30%;
    display: flex;
    align-items: center;
}

.divRatingCol1 {
    display: flex;
    flex-direction: column;
    min-width: 260px;
}

.divDetaliiRating {
    width: 100%;
}

.divReviewMedieFinala {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.divRatingParent {
    padding-top: 100px;
    padding-bottom: 100px;
}

#pnlFaraRating {
    color: #8492AF;
    font-size: 18px;
    text-align: center;
}

    #pnlFaraRating .btnAddReview {
        padding: 15px 60px;
    }

.divFaraReviewText {
    color: #50596C;
    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
    margin-bottom: 30px;
}

.divParentStarReview {
    line-height: normal;
    margin: 5px 0;
    width: 100%;
    font-size: 22px;
    text-align: center;
    color: rgba(80, 89, 108, 0.70);
}

    .divParentStarReview i {
        margin-right: 3px;
    }

    .divParentStarReview:hover i {
        color: #f39c12;
        font-weight: bold;
        cursor: pointer;
    }

    .divParentStarReview i:hover ~ i {
        color: #8492AF;
        font-weight: normal;
    }

.starOn {
    color: #f39c12;
    font-weight: bold;
}

.starOnReview {
    color: #f39c12;
    font-weight: bold;
    margin-right: 3px;
}

.btnAddReview,
#btnAddReview,
#btnAddReviewMobile {
    background-color: #22AD01;
    border-radius: 5px;
    color: #FAFAFA;
    font-size: 16px;
    font-weight: 500;
    border: none;
    padding: 15px;
    text-transform: uppercase;
}

#btnAddReviewMobile {
    display: none;
}

#BtnToAddReview {
    display: none;
}

#divZonaAcordaReview {
    margin: 30px 0;
}

#modalAdaugaReview .modal-content {
    border-radius: 10px;
}

.modalReviewTitlu {
    color: #708090;
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    line-height: normal;
    border-bottom: none;
    padding: 55px 0 30px 0;
}

.modalReviewBody {
    color: #8492AF;
    gap: 20px;
    padding: 0 50px;
}

.reviewTxtBox {
    min-height: 240px;
}

.reviewTxtBox,
.reviewTxtBox2 {
    max-width: none;
    width: 100%;
    padding: 10px 15px;
    border: 1.5px solid #D9D9D9;
    border-radius: 5px;
    font-size: 16px;
    line-height: normal;
    resize: none;
}

.divErrorRating,
.divErrorMesajReview {
    color: red;
    margin-bottom: 10px;
}

#modalAdaugaReview .eroare {
    border: 1.5px solid red;
}

.modalReviewFooter {
    padding: 40px 0;
    text-align: center;
}

#BtnAdaugaReview,
.btnCloseReviewModal {
    padding: 10px 40px;
    border: none;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: bolder;
    border-radius: 5px;
    cursor: pointer;
}

#BtnAdaugaReview {
    color: #fff;
    background-color: #22AD01;
}

.btnCloseReviewModal {
    background-color: #d3d3d3;
    color: black;
}

    .btnCloseReviewModal:hover {
        background-color: #c7c7c7;
    }

#pnlRating {
    height: 100%;
    width: 100%;
    display: flex;
    gap: 20px;
}

.lblTitluReview {
    font-size: 20px;
    font-weight: bold;
    padding-right: 5px;
}

#lblTitluPanouReview {
    font-size: 20px;
}

.divNrReviewMedieFinala {
    font-size: 45px;
    font-weight: bold;
    color: #8492AF;
    line-height: normal;
    color: rgba(80, 89, 108, 0.70);
    margin-bottom: 20px;
    font-family: Montserrat;
}

.divStarReviewDescriere {
    margin: 10px 0px;
}

.bar-parent {
    background-color: rgba(238, 244, 248, 0.80);
    margin: 10px 0px;
    height: 20px;
    border: 1px solid #D9D9D9;
    border-radius: 30px;
}

.bar-star-1, .bar-star-2, .bar-star-3, .bar-star-4, .bar-star-5 {
    height: 19px;
    background-color: #24BF00;
    border-radius: 30px;
    width: 0%;
}

.div-rating-text {
    margin: 10px 0px;
    margin-left: auto;
    width: 45px;
    color: rgba(80, 89, 108, 0.70);
    font-weight: 600;
}

.div-rating-number {
    margin: 10px 0px;
    color: rgba(80, 89, 108, 0.70);
    font-weight: 600;
}

.divZonaReviewTitlu {
    text-align: center;
}

.divPacientMesajPostat {
    border-radius: 10px;
    background: #FFF;
    box-shadow: 0 0px 20px 0px rgba(187, 187, 187, 0.30);
    padding: 20px 20px 20px 15px;
    color: rgba(80, 89, 108, 0.70);
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    display: flex;
    gap: 20px;
}

    .divPacientMesajPostat .revGroup1 {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .divPacientMesajPostat .revGroup2 {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

.imgPacientReview {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 40px;
    display: block;
}

.divReviewPostatNume {
    text-transform: uppercase;
    font-weight: 600;
    text-align: center;
    width: 170px;
    margin-bottom: 10px;
}

.divReviewPostatData {
    font-weight: 600;
    text-align: center;
}

.divStarReviewPostat {
    line-height: 15px;
    width: 105px;
    font-size: 16px;
}

.ratings {
    position: relative;
    vertical-align: middle;
    display: inline-block;
    color: white;
    overflow: hidden;
    margin-bottom: 10px;
}

/*.full-stars {
    position: absolute;
    left: 0;
    top: 0;
    white-space: nowrap;
    overflow: hidden;
    color: #f39c12;
    font-size: 25px;
}

    .full-stars:before {
        -webkit-text-stroke: 1px orange;
    }*/

.divListaRatingMedie {
    left: 0 !important;
    transform: translateX(0) !important;
}

.star-full {
    font-weight: bold;
}

#listaMesajeReview {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 100%;
    padding: 20px 40px;
    height: 70%;
    overflow-y: auto;
}

.divColor:nth-of-type(odd) .bar-parent {
    background-color: white;
}

/*rating clinici*/

.divStars {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    gap: 5px;
    margin-top: -10px;
    margin-bottom: 35px;
}

#divRatingContainer,
.divRatingContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.review-stars-container-principal {
    display: flex;
    align-items: center;
}

.review-stars-container .star {
    color: #ccc;
    font-size: 14px;
    margin-right: 3px;
}

    .review-stars-container .star.filled,
    .review-stars-container .star.half-filled,
    .review-stars-container-principal .star.filled,
    .review-stars-container-principal .star.half-filled {
        color: #f39c12;
    }

.review-stars-container-principal .star {
    color: #ccc;
    font-size: 18px;
    margin-right: 3px;
}

.review-text-container {
    display: flex;
    gap: 5px;
    color: #50596C;
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
}

#lnkRatingContainer, #lnkRatingContainer:hover, #lnkRatingContainer:focus, #lnkRatingContainer:visited {
    text-decoration: none;
}

#lblNrVoturiReview {
    color: #50596C;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
}

.divWrapperRaspunsRating {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 20px;
    padding-left: 15px;
    border-left: 1px solid #8492AF;
}

.divTitluRaspuns {
    display: flex;
    gap: 10px;
    margin-bottom: 7px;
}

    .divTitluRaspuns div:first-of-type {
        font-weight: bold;
    }

/* modal pop-up */
#modalReviewInAsteptare .modal-body,
#modalReviewAprobat .modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#modalReviewInAsteptare .modal-header,
#modalReviewAprobat .modal-header {
    border-bottom: none;
    padding: 15px 0 0 0;
}

#modalReviewInAsteptare .modal-footer,
#modalReviewAprobat .modal-footer {
    border-top: none;
    padding: 20px 0;
}

#modalReviewInAsteptare h2,
#modalReviewAprobat h2 {
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    color: #1FC468;
    letter-spacing: 0.1rem;
}

.iconCheckPopup {
    font-size: 25px;
    color: #fff;
    background-color: #1FC468;
    border-radius: 40px;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#modalReviewInAsteptare p,
#modalReviewAprobat p {
    font-size: 16px;
    margin-top: 10px;
}

.modalReviewFooter {
    border-top: none;
}

.review-embed {
    max-width: 800px;
    margin: 20px auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

    .review-embed iframe {
        width: 100%;
        height: 400px;
        border: 0;
    }

@media screen and (max-width: 1100px) {
    .divContainerReviewuri {
        background: #F9FAFB !important;
        box-shadow: none !important;
    }

    .divRatingCol1 {
        position: absolute;
    }

    .divBarsProcente {
        height: 260px;
        align-items: start;
        margin-left: 260px;
    }

    #listaMesajeReview {
        height: unset;
        overflow-y: unset;
        padding: 20px 0;
    }

    #btnAddReview {
        display: none;
    }

    #btnAddReviewMobile {
        display: block;
        width: 100%;
        margin-top: 55px;
    }
}

@media screen and (max-width: 991px) {
    .divReviewPostatNume,
    .divReviewPostatData {
        text-align: left;
    }

    .divReviewPostatNume {
        margin: 5px 0;
    }
}

@media screen and (max-width: 767px) {
    .divContainerReviewuri {
        padding: 130px 30px 90px 30px;
        background: #FFF !important;
        min-height: calc(100vh - 90px);
    }

    .divRatingCol1 {
        position: unset;
    }

    #pnlRating {
        flex-direction: column;
    }

    #pnlFaraRating .btnAddReview {
        padding: 15px;
    }

    .divFaraReviewText {
        font-size: 18px;
    }

    .divRatingParent {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .divReviewMedieFinala {
        aspect-ratio: unset;
        background: #FFF !important;
        box-shadow: none !important;
    }

    #btnAddReviewMobile {
        margin-top: 40px;
    }

    #pnlFaraRating {
        margin-left: 7vw;
        margin-right: 7vw;
        font-size: 16px;
    }

    .divBarsProcente {
        margin-left: 0;
        margin-bottom: 30px;
    }

    .btnAddReview {
        width: 100%;
    }

    .divBarParent {
        padding: 0px;
    }

    .divStarReviewDescriere {
        text-align: center;
    }

    .divParentStarReview {
        margin-left: auto;
        margin-right: auto;
    }

    .div-rating-text:first-child,
    .div-rating-number:first-child {
        margin-top: 15px;
    }

    .bar-parent {
        margin: 20px 10px;
        height: 10px;
    }

    .bar-star-1, .bar-star-2, .bar-star-3, .bar-star-4, .bar-star-5 {
        height: 9px;
    }

    .divPacientMesajPostat {
        padding: 20px;
        flex-direction: column;
    }

    .imgPacientReview {
        width: 40px;
        height: 40px;
    }

    #listaMesajeReview {
        padding: 0;
    }

    .modalReviewBody {
        padding: 0 15px;
    }
}
