/* Theme Name: Review */
div#myModal{
            display: none;
            position: fixed;
            z-index: 1;
            padding-top: 30px 0;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            background-color: black;
        }
       #myModal .modal-content {
            margin: 0 auto !important;
            width: 80% !important;
            background-color: #ffffff00 !important;
            padding: 0 20px !important;
        }
      #myModal .close {
    color: #fff;
    position: absolute;
    top: 60px;
    right: 25px;
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
}
       #myModal .close:hover {
            color: #999;
        }
        #myModal .mySlides {
            display: none;
        } 
        #myModal .prev, #myModal .next {
            cursor: pointer;
            position: absolute;
            top: 50%;
            padding: 16px;
            color: white;
            font-size: 20px;
            transition: 0.6s ease;
            user-select: none;
        }
       #myModal .next { 
            right: 0;
        }
        .prev:hover, .next:hover {
            background-color: rgba(0, 0, 0, 0.8);
        }
       #myModal .caption-container {
            text-align: center;
            background-color: black;
            padding: 2px 16px;
            color: white;
        }
        .cursor {
            cursor: pointer;
        }
.reviews-carousel-shortcode .video_recod img {
    height: 25px;
    object-fit: contain;
}
.numbertext {
    width: 85%;
    padding: 15px 0;
}
#myModal .numbertext {
    width: 100%;
    padding-left: 20px;
    color: #999;
    font-size: 16px;
    padding-top: 12px;
    position: absolute;
    right: 47%;
    left: auto;
    top: 5%;
}

/* Customize the scrollbar */
#full-review-text::-webkit-scrollbar {
  width: 8px;
}
#full-review-text::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}
/* Simulating larger thumb using shadow */
#full-review-text::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3); /* Visual enhancement */
}

#full-review-text::-webkit-scrollbar-thumb:hover {
  background: #555;
}





img.lg-object.lg-image {
    height: 100% !important;
}
.splide__pagination.splide__pagination--ltr {
    display: none;
}
.lg-close {
    position: fixed !important;
    top: 10px !important;
    right: 10px !important;
    font-size: 30px !important;
    color: #fff !important;
    background: rgba(0, 0, 0, 0.6) !important;
    padding: 10px !important;
    border: none !important;
    cursor: pointer !important;
    z-index: 9999 !important;
    border-radius: 5px !important;
    display: block !important;
    opacity: 1 !important;
}
.lg-toolbar .lg-icon {
    top: 64px !important;
}


/* dashboard-css */
.splide__slide {
    width: calc(33.3333% - 13.3333px);
    max-width: 300px;
    flex: 0 0 calc(33.3333% - 13.3333px);
}
.modal_attr {
    width: 50%;
    display: flex;
    column-gap: 15px;
    line-height: normal;
}
strong#modal-user-name {
    color: #fff;
    font-weight: 600;
    font-family: 'Inter';
    font-size: 15px;
}
em#modal-membership-title {
    display: block;
    font-style: normal;
    color: #6C8695;
    font-size: 14px;
}
#review-modal .modal-header {
    display: flex;
    align-items: center;
}
.att_img {
    width: 50%;
    /* float: right; */
    display: flex;
    justify-content: end;
}
.short_code {
    display: flex;
    align-items: center;
    column-gap: 10px;
    font-size: 18px;
}
img.mobile_block {
    height: 35px;
}
.short_code span {
    font-size: 23px;
    font-weight: 600;
}
.short_code h4 {
    font-size: 18px;
}
.review_contents {
    height: 110px;
    margin-bottom: 20px;
}

.title_review {
    width: 33.33%;
    display: flex;
    justify-content:center;
}
.wp-core-ui .button-primary {
    background: #2271b1;
    border-color: #2271b1;
    color: #fff;
    padding: 6px 15px;
    height: 42px;
    font-weight: 600;
}
.add_mediaa {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}
h1.review_head, h2.review_head {
    text-align: center;
}
td.media_imgg {
    padding: 7px !important;
}
td.media_imgg video {
    height: 120px !important;
}
td.media_imgg img {
    height: 90px !important;
}
div#user_image_preview img {
    width: 150px;
    height: 100px;
    object-fit: cover;
}
td.add_review_url {
    margin-bottom: 0;
}
td.drag-handle.ui-sortable-handle {
    text-align: center !important;
}
.wp-list-table.wp-list-table th,
.wp-list-table.wp-list-table td {
  width: calc(100% / 8); /* Divide by number of columns */
  text-align: left;
  vertical-align: middle;
}

.wp-list-table.wp-list-table th {
  background-color: #f4f4f4;
  font-weight: bold;
}

.wp-list-table.wp-list-table td img,
.wp-list-table.wp-list-table td video {
  max-width: 100%;
  height: auto;
}

/* admin  */


.reviews-wrap-admin .button-primary {
    width: auto !important;
}

.reviews-wrap-admin.wrap h1,
h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 0px;
}

.reviews-wrap-admin.wrap h2 {
    margin-bottom: 40px;
}

.reviews-wrap-admin .form-table label {
    font-weight: 700;
}

.reviews-wrap-admin table.fixed th {
    font-weight: 700;
}

.reviews-wrap-admin select {
    font-size: 14px;
    /* line-height: 2; */
    color: #2C3338;
    border-color: #8c8f9478;
    box-shadow: none;
    border-radius: 3px;
    padding: 5px 24px 5px 8px;
    min-height: 30px;
    max-width: 25rem;
    -webkit-appearance: none;
    background: #fff url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') no-repeat right 5px top 55%;
    background-size: 16px 16px;
    cursor: pointer;
    vertical-align: middle;
    width: 100%;
    max-width: 100%;
}

.reviews-wrap-admin.wrap {
    margin: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}


.reviews-wrap-admin .form-table .table_dashboard {
    width: 100%;
    border-collapse: collapse;
}

.reviews-wrap-admin .form-table .table_dashboard th {
    text-align: left;
    padding: 10px;
    width: 30%;
}

.reviews-wrap-admin .form-table .table_dashboard td {
    padding: 10px;
}

.reviews-wrap-admin .table_dashboard input[type="text"],
.reviews-wrap-admin .table_dashboard textarea,
.reviews-wrap-admin .table_dashboard select {
    width: 100%;
    padding: 4px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.reviews-wrap-admin .table_dashboard textarea {
    min-height: 100px;
}

.reviews-wrap-admin .table_dashboard .button-primary {
    display: block;
    width: 100%;
    padding: 6px 22px;
    background: #0073AA;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
font-weight:500;
}

.reviews-wrap-admin .table_dashboard .button-primary:hover {
    background: #005A87;
}



.reviews-wrap-admin .wp-list-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.reviews-wrap-admin .wp-list-table th,
.reviews-wrap-admin .wp-list-table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.reviews-wrap-admin .wp-list-table th {
    background: #F4F4F4;
    text-align: left;
}

.reviews-wrap-admin .wp-list-table img {
    border-radius: 4px;
    object-fit: cover;
}

.reviews-wrap-admin .wp-list-table a {
    color: #0073AA;
    text-decoration: none;
    margin-right: 10px;
}

.reviews-wrap-admin .wp-list-table a:hover {
    text-decoration: underline;
}

.reviews-wrap-admin .user_info {
    display: flex;
    align-items: center;
    gap: 5px;
}

.reviews-wrap-admin .drag-handle {
    cursor: pointer;
    text-align: center;
}


/* slider  */

.reviews-carousel-shortcode .review-slide img.review-media {
    vertical-align: bottom;
    border-radius: 15px;
    height: 232px;
    object-fit: cover;
}

.reviews-carousel-shortcode.splide {
    max-width: 100%;
    margin: auto;
    padding: 0px 0px
}

.reviews-carousel-shortcode .splide__list {
    display: flex;
}

.reviews-carousel-shortcode .splide__slide {
    background: #1a1c2200;
    color: #fff;
    padding: 0px;
    border-radius: 10px;
    max-width: 100%;
}

.reviews-carousel-shortcode .review-content {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reviews-carousel-shortcode .review-content:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(22, 97, 208, 0.2);
    z-index: 2;
    position: relative;
}

.reviews-carousel-shortcode .review-content:hover .read-more-btn {
    color: #1661d0;
    text-decoration: underline;
}

.reviews-carousel-shortcode button.splide__arrow.splide__arrow--prev {
    left: -70px !important;
}

.reviews-carousel-shortcode button.splide__arrow.splide__arrow--next {
    right: -70px !important;
}

.reviews-carousel-shortcode .review-content {
    margin-bottom: 20px;
}

.reviews-carousel-shortcode .review-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reviews-carousel-shortcode .profile-icon {
    font-size: 30px;
}

.reviews-carousel-shortcode .review-media {
    width: 100%;
    border-radius: 10px;
}

.reviews-carousel-shortcode .review-video {
    width: 100%;
    border-radius: 10px;
}

.reviews-carousel-shortcode .video-container {
    position: relative;
}

.reviews-carousel-shortcode .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    cursor: pointer;
    width: 25px;
}

/* Navigation buttons */
.splide__arrow {
    background: #cccccc00 !important;
}
.reviews-carousel-shortcode .splide__arrow {
    background: #ffffff00 !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    /* color: red; */
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Pagination */
.reviews-carousel-shortcode .splide__pagination {
    bottom: -20px;
}

.reviews-carousel-shortcode .swiper-slide {
    margin-right: 20px !important;
}

/* span.profile-icon img {
    width: 40px;
    height: 40px;
    object-fit: cover;
} */

.reviews-carousel-shortcode video.review-video {
    height: 232px;
    object-fit: cover;
}

.reviews-carousel-shortcode .splide__arrow:focus-visible {
    outline: 0px solid #0bf !important;
    outline-offset: 3px;
}

.reviews-carousel-shortcode button.splide__arrow {
    top: 45%;
}

.reviews-carousel-shortcode .review-content p {
    font-family: inter;
    font-size: 16px !important;
    line-height: 18px;
    color: #fff !important;
    font-weight: 300;
    margin-bottom: 10px;
}

.reviews-carousel-shortcode .member_titl strong {
    color: #fff;
    font-weight: 600;
    font-family: 'Inter';
    font-size: 15px;
}

.reviews-carousel-shortcode .video_recod {
    width: 50%;
    text-align: right;
}

.reviews-carousel-shortcode .swiper-button-next:after,
.reviews-carousel-shortcode .swiper-button-prev:after {
    font-size: 20px !important;
}

.reviews-carousel-shortcode .member_titl {
    line-height: normal;
    width: 100%;
    display: flex;
    column-gap: 11px;
}

.reviews-carousel-shortcode .review-author em {
    display: block;
    font-style: normal;
    color: #6C8695;
    font-size: 14px;
}

.reviews-carousel-shortcode .review-content {
    padding: 30px 28px;
    margin-bottom: 25px;
    border: 1px solid #27273C;
    border-radius: 9px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #131a2c;
    height: 232px;
}
body:has(#myModal[style="display: block;"]) {
    overflow-y: hidden !important;
}
#myModal[style="display: block;"] {
    display: grid !important;
    place-items: center;
}
.review-modal.review-text-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1;
    justify-content: center;
    align-items: center;
}

.review-modal.review-text-modal[style*="display: block"] {
    display: flex !important;
}

.review-text-modal .review-modal-content {
    background: #fff;
    width: 50%;
    max-height: 85vh;
    overflow-y: auto;
    margin: 0;
    position: relative;
    padding: 30px 28px;
    border: 1px solid #27273C;
    border-radius: 9px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #131a2c;
}
p#full-review-text {
    font-family: inter;
    font-size: 16px!important;
    line-height: 18px;
    color: #fff!important;
    font-weight: 300;
    margin-bottom: 30px;
    height: 163px;
    overflow-y: auto;
    margin-top: 25px;
}
.review-text-modal .close-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    font-size: 30px;
    font-weight: bold;
    color:#fff;
}
.review-read-more.read-more-btn {
    display: inline-block;
    background-color: #1661d000;
    color: #299fea !important; 
    padding: 0px 10px 0 0;
    border: none;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
    margin-top: 0px;
    text-decoration: underline;
}
.review-read-more.read-more-btn:hover {
    background-color: #005f8700 !important;
}
img.display_block {
    display: block;
}
img.mobile_block {
    display: none;
}
@media screen and (min-device-width: 320px) and (max-device-width: 768px) {
    .reviews-carousel-shortcode .splide__arrows.splide__arrows--ltr {
        display: block;
    }
    img.display_block {
        display: none;
    }
    img.mobile_block {
        display:block;
        height: 33px !important;
    }
    .reviews-carousel-shortcode button.splide__arrow.splide__arrow--prev {
        left: -20px !important;
    }
    
    .reviews-carousel-shortcode button.splide__arrow.splide__arrow--next {
        right: -20px !important;
    }
.review-text-modal .review-modal-content {
    width: 90% !important;
}
#review-modal .modal-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}
.modal_attr {
    width: 100% !important;
}
.att_img {
    width: 100% !important;
    justify-content: flex-start !important;
}
.splide__slide {
    width: 100% !important;
    flex: 0 0 100% !important;
}
img.lg-object.lg-image {
    height: auto !important;
}
#myModal .modal-content iframe {
    height: auto !important;
}
#myModal .numbertext {
    position: unset;
    text-align: left;
    padding: 0 0 10px;
}
#myModal .splide__arrow {
    top: 53%;
}
}

#myModal .mySlides img {
    max-height: 90vh;
    width: auto;
}

#modal-review-link img {
    height: 25px;
    object-fit: contain;
}