@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

/*!-------------------------------General Styles ---------------------------------!*/
* {
    margin: 0;
    padding: 0;;
}

body {
    background-color: #F9F9F9;
}
p {
    margin: 0;
}
a {
    text-decoration: none;
    color: inherit;
}
a:hover, a:focus, a:active {
    text-decoration: none;
    color: initial;
}
/*!-------------------------------General Styles ---------------------------------!*/

.wrapper {
    width: 100%;
    max-width: 1077px;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}


.review-intro {
    padding: 40px;
    border-radius: 8px;
    border: solid 1px #ebeee9;
    background-color: #fff;
    margin-top: 40px;
}
.review-intro__text {
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.56;
    letter-spacing: normal;
    text-align: center;
    color: #1E3140;
}

/*! -------------------------------Reviews Start ---------------------------------!*/
.review-blocks {
    margin: 60px 0 120px;
}
.review--airbnb,
.review--vrbo {
    margin-top: 80px;
}
.review__logo {
    display: flex;
    justify-content: center;
}

.review__header {
    margin-top: 48px;
    padding: 26px 25px 25px 24px;
    border-radius: 8px;
    border: solid 1px #ebeee9;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.review__header-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.review__branding {
    display: flex;
    align-items: stretch;
    gap: 3px;
}
.review__title {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.25;
    color: #111;
}
.review__rating-section {
    display: flex;
    align-items: center;
    gap: 6px;
}
.review__rating {
    font-size: 21px;
    font-weight: bold;
    line-height: 1.19;
    color: #111;
}
.review__stars {
    display: flex;
}
.review__rating-section .ratings .full-stars:before,
.review__rating-section .ratings .empty-stars:before {
    font-size: 24px;
}
.review__count {
    font-size: 13px;
    line-height: 1.92;
    color: #818181;
}
.review__link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 20px;
    border-radius: 19px;
    background-color: #197bff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.67;
    letter-spacing: -0.2px;
    color: #fff;
    &:hover {
        color: white;
    }
    &:focus {
        color: white;
    }
}
.review--airbnb .review__link,
.review--vrbo .review__link {
    border-radius: 4px;
}
.review__slider {
    margin-top: 22px;
}
.swiper-wrapper {
    display: flex;
    align-items: center;
}
.review-swiper {
    width: 100%;
    height: auto;
}
.review-swiper .swiper-slide {
    height: 300px;
    max-width: 254px !important;
    width: 100% !important;
    padding: 25px 24px 27px 24px;
    border-radius: 8px;
    border: solid 1px #ebeee9;
    background-color: #fff;
}

.review-swiper .swiper-button-next,
.review-swiper .swiper-button-prev {
    background-color: rgba(0, 0, 0, 0.45);
    background-position: center;
    background-repeat: no-repeat;
    height: 32px !important;
    width: 32px !important;
    border-radius: 100%;
    transition: all 0.3s ease;
}
.review-swiper .swiper-button-prev {
    background-image: url("/reviews/images/icons/angle-left.svg");
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.3);

}
.review-swiper .swiper-button-next {
    background-image: url("/reviews/images/icons/angle-right.svg");
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.3);
}
.review__pagination {
    display: none;
    align-items: center;
    justify-content: center;
    height: 35px;
}
.swiper-pagination {
    bottom: -10px !important;
}
.swiper-pagination-bullet-active {
    background: #1e3140;
}

.review-swiper .swiper-button-next::after,
.review-swiper .swiper-button-prev::after {
    content: "" !important;
}

/* Review Slide */
.review__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.review__author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review__author-details {
    display: flex;
    align-items: start;
    gap: 10px;
}

.review__author-logo {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
}

.review__author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.review__author-name {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.56;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 150px;
}

.review__author-date {
    font-size: 12px;
    line-height: 2.08;
    color: #818181;
}

.review__rating_images {
    margin-top: 0px;
}
.review__text {
    font-size: 16px;
    line-height: 1.44;
    color: #111;
    margin-top: 4px;
    word-break: break-all;
}

.review__meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review__meta-logo {
    width: 30px;
    height: 30px;
}

.review__meta-info {
    display: flex;
    flex-direction: column;
}

.review__meta-posted-by {
    font-size: 13px;
    font-weight: 600;
    color: #197bff;
    line-height: normal;
    border-bottom: dashed 0.5px #197bff;
    cursor: pointer;
    &:hover {
        color: #197bff;
    }
}
.review__meta-posted-on {
    font-size: 13px;
    line-height: 1.77;
    letter-spacing: -0.5px;
    color: #818181;
}
/* Review Slide */


/* Reviews Modal */
#review-modal .review__text {
    word-break: break-word;
}
#review-modal .modal-content {
    box-shadow: none !important;
    border: none !important;
    border-radius: 8px;
}
#review-modal .close {
    font-size: 30px;
    font-weight: 500;
    position: relative;
    right: 20px;
    top: 20px;
    cursor: pointer;
    z-index: 99;
}
#review-modal .modal-dialog {
    margin: 120px auto;
}
.review-modal-close {
    border: none;
    color: #1e3140;
    padding: 12px 30px;
    cursor: pointer;
    border-radius: 5px;
    border: solid 1px #cecece;
    background-color: #fff;
    font-size: 14px;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    &:hover {
        background-color: #197bff;
        border: solid 1px #197bff;
        color: #fff;
    }
}
.modal-backdrop {
    background-color: rgba(30, 49, 64, 0.9) !important;
    opacity: 1 !important;
}

/* Reviews Modal */
/*!-------------------------------Reviews End ---------------------------------!*/



/*!-------------------------------Ratings Start -------------------------------!*/
.ratings {
    position: relative;
    vertical-align: middle;
    display: inline-block;
    color: #dfdfdf;
    overflow: hidden;
  }
  
  .full-stars{
    position: absolute;
    left: 0;
    top: 0;
    white-space: nowrap;
    overflow: hidden;
    color: #fcbf02;
  }
  
  .empty-stars:before,
  .full-stars:before {
    content: "\2605\2605\2605\2605\2605";
    font-size: 16px;
    letter-spacing: 4px;
  }
  
  .empty-stars:before {
    -webkit-text-stroke: 1px #dfdfdf;
  }
  
  .full-stars:before {
    -webkit-text-stroke: 1px #fcbf02;
  }
  
  /* Webkit-text-stroke is not supported on firefox or IE */
  /* Firefox */
  @-moz-document url-prefix() {
    .full-stars{
      color: #fcbf02;
    }
  }
  /* IE */
    .full-stars{
      color: #fcbf02;
    }
  /* !----------------------------Ratings End---------------------------------! */

@media (max-width: 1200px) {
    .wrapper {
        padding: 0 12px;
    }
}

@media (min-width: 481px) and (max-width: 1024px) { 
    .reviews-icons {
        flex-direction: column;
        align-items: end;
        padding: 10px;
        gap: 5px;
        width:  -webkit-fill-available;
    }
    .reviews-icons img {
        width: 50px;
    }

    .review__header {
        max-width: 530px;
        margin: 0 auto;
        margin-top: 48px;
    }

    .review-swiper {
        width: 530px;
    }
}

@media (max-width: 480px) {
    .review-intro {
        padding: 20px;
    }
    .reviews-icons {
        flex-direction: column;
        align-items: end;
        padding: 6px;
        gap: 4px;
        width:  -webkit-fill-available;
    }
    .reviews-icons img {
        width: 40px;
    }
    .review__header {
        flex-direction: column;
        gap: 24px;
        margin-top: 28px;
    }
    .review__header-left {
        align-items: center;
    }
    .review__pagination {
        display: flex;
    }
    #review-modal .modal-dialog {
        margin: 30px auto;
    }
    #review-modal .modal-dialog {
        position: fixed;
        bottom: 0;
        margin: 0;
        width: 100%;
        max-height: 430px;
        height: auto;
    }
    #review-modal .modal-content {
        display: flex;
        flex-direction: column;
        height: 100%;
        padding: 0;
    }
    #review-modal .modal-body {
        padding: 20px 20px 0px 20px;
    }
    #review-modal .modal-body .review__text {
        overflow-y: auto;
        height: 164px !important;
    }
    #review-modal .modal-footer {
        position: sticky;
        bottom: 0;
        background: #fff;
        width: 100%;
        z-index: 1;
        padding: 20px 0px;
        box-shadow: 0 2px 8px 0 rgba(25, 25, 21, 0.15);
    }
    #review-modal .close {
        text-align: right;
    }
    
}

