/* === GENERAL VARIABLES === */
:root {
      /* The star color is defined inline by the controller, with a fallback here */
      --ctrw-star-color: #fbbc04;
}


/* === CTRW FORM STYLES === */
.customer-reviews-form-container {
      padding: 0px;
      border-radius: 8px;
      margin-top: -17px;
      position: relative;
      z-index: 1;
}

/* Sort Controls */
.ctrw-sort-controls {
      margin-bottom: 15px;
      text-align: left;
}

.ctrw-sort-controls label {
      font-size: 14px;
      color: #666;
      margin-right: 6px;
}

.ctrw-sort-controls select {
      font-size: 14px;
      padding: 4px 15px;
      border: 1px solid #ddd;
      border-radius: 3px;
      background: #fff;
      color: #333;
}

#customer-reviews-form {
      padding-top: 10px;
      position: relative;
      z-index: 1;
}

#customer-reviews-form h3 {
      text-align: center;
      font-size: 18px;
      margin-bottom: 15px;
}

.ctrw-form-heading {
    font-size: 16pt;
    line-height: 1.3;
}

#customer-reviews-form .form-group {
      margin-bottom: 5px;
}

#customer-reviews-form .form-group label {
      display: block;
      margin-bottom: 5px;
      font-size: 15px;
}

/* Make Rating label inline so stars appear on same line */
#customer-reviews-form .form-group label[for="ctrw-rating"] {
      display: inline-block;
      margin-right: 10px;
      margin-bottom: 0;
      vertical-align: middle;
      margin-top: 5px;
}

/* Terms checkbox - inline layout */
#customer-reviews-form #terms-checkbox-label {
      display: flex;
      align-items: center;
      gap: 8px;
}

#customer-reviews-form #terms-checkbox-label input[type="checkbox"] {
      width: auto;
      margin: 0;
}

#customer-reviews-form #terms-checkbox-label .ctrw-tooltip {
      display: inline-flex;
      align-items: center;
      margin-left: 5px;
}

#customer-reviews-form #terms-checkbox-label .ctrw-tooltip .dashicons {
      cursor: help;
}

.customer-reviews-form-container .form-group input,
.customer-reviews-form-container .form-group textarea {
      width: 100%;
      border: 1px solid #d1d1d1;
      border-radius: 4px;
      box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07);
      padding: 4px 10px;
      line-height: 2;
      height: 40px;
      font-size: 14px;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.customer-reviews-form-container textarea {
      min-height: 125px;
      font-size: 14px;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
      line-height: 1.6;
}

/* Error/success messages */
.customer-reviews-form-container #review-message {
      font-size: 15px;
      line-height: 1.6;
      margin-top: 10px;
}

#customer-reviews-form .rating {
      font-size: 24px;
      color: #ccc;
      direction: rtl;
      unicode-bidi: bidi-override;
      display: inline-block;
      margin-top: -5px;
      margin-bottom: -10px;
      vertical-align: middle;
}

#customer-reviews-form .rating input {
      display: none !important;
}

#customer-reviews-form .rating label {
      cursor: pointer;
      transition: color 0.2s;
      font-size: 32px;
      display: inline;
      margin: 0;
      padding: 0 0px;
}

#customer-reviews-form .rating input:checked ~ label,
#customer-reviews-form .rating label:hover,
#customer-reviews-form .rating label:hover ~ label {
    color: var(--ctrw-star-color);
}

#customer-reviews-form .review-author {
      font-size: 16px;
      font-weight: bold;
}

/* === CTRW REVIEWS LIST STYLES === */
#reviews-container .ctrw-review-item {
    padding: 15px 28px 10px 28px;
    margin-top: 15px;
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    margin-bottom: 30px;
}

#reviews-container .review-header {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
}

#reviews-container .review-title {
    padding-left: 10px;
    padding-top: 1px;
}

#reviews-container .review-content {
    padding-top: 1%;
}

#reviews-container .review-content p {
    margin: 0px 10px 10px 0px;
}

#reviews-container .review-date {
    font-size: 14px;
    line-height: 16px;
}

#reviews-container .review-actions {
    font-size: 14px;
    display: flex;
    gap: 10px;
}

#reviews-container .admin-response {
    background: #f7f7f7;
    padding: 2px 10px 0px 10px;
    border-left: 3px solid #96c1ef;
    margin-top: 12px;
    font-size: 14px;
    font-style: italic;
    line-height: 23px;
}

#reviews-container .stars {
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    line-height: 32px;
}

#reviews-container .star {
    font-size: 28px;
    transition: color 0.2s ease-in-out;
}

#reviews-container .star.filled {
    color: var(--ctrw-star-color);
}

#reviews-container .star.empty {
    color: lightgray;
}

#reviews-container .review-author {
    font-size: 16px;
    font-weight: bold;
}

#reviews-container .review-location {
    font-size: 14px;
    font-weight: normal;
}

#reviews-container .no-reviews-message {
    text-align: center;
    padding: 30px;
    color: #666;
    font-style: italic;
}

#reviews-container .reviews-pagination {
    text-align: center;
    margin: 25px 0;
    padding: 10px 0;
}

#reviews-container .reviews-pagination a,
#reviews-container .reviews-pagination span {
    display: inline-block;
    padding: 5px 12px;
    margin: 0 3px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
}

#reviews-container .reviews-pagination a:hover {
    background: #f5f5f5;
}

#reviews-container span.page-numbers.current {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}

/* === CTRW FLOATING WIDGET STYLES === */

.ctrw-floating-widget {
    position: fixed;
    right: 20px;
    bottom: 0px;
    z-index: 999999 !important;
    transform: translateZ(0);
    will-change: transform;
    isolation: isolate;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --ctrw-primary: var(--ctrw-star-color);
    --ctrw-text: #333333;
    --ctrw-text-light: #666666;
    --ctrw-text-lighter: #999999;
    --ctrw-bg: #FFFFFF;
    --ctrw-border: #F0F0F0;
    --ctrw-card-bg: #F9F9F9;
}

.ctrw-floating-tab {
    background: var(--ctrw-primary);
    color: white;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    padding: 0;
    overflow: hidden;
    position: relative;
    z-index: 999999 !important;
}

.ctrw-floating-tab:hover {
    filter: brightness(0.9);
}

.ctrw-tab-content {
    display: flex;
    align-items: center;
    padding: 12px 16px;
}

.ctrw-tab-icon {
    font-size: 18px;
    margin-right: 8px;
    line-height: 1;
}

.ctrw-tab-text {
    font-weight: 600;
    font-size: 15px;
}

.ctrw-tab-count {
    background: rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 12px;
    margin-left: 8px;
}

.ctrw-floating-content {
    display: none;
    background: var(--ctrw-bg);
    border-radius: 0px 0 12px 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    width: 380px;
    max-height: 70vh;
    overflow: hidden;
    transform-origin: bottom right;
    animation: ctrw-fadeIn 0.3s ease forwards;
    position: relative;
    z-index: 999999 !important;
}

.ctrw-floating-widget.active .ctrw-floating-content {
    display: flex;
    flex-direction: column;
}

.ctrw-reviews-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow:auto;
}

.ctrw-reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--ctrw-bg);
    border-bottom: 1px solid var(--ctrw-border);
    position: relative;
}

.ctrw-reviews-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--ctrw-text);
    display: flex;
    align-items: center;
}

.ctrw-title-icon {
    color: var(--ctrw-primary);
    margin-right: 8px;
    font-size: 20px;
}

.ctrw-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ctrw-text-light);
    padding: 4px;
    margin: -4px -4px -4px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.ctrw-close-btn:hover {
    background: rgba(0,0,0,0.05);
    color: var(--ctrw-text);
}

.ctrw-reviews-list {
    flex: 1;
    overflow-y: auto;
    padding: 0 20px;
}

.ctrw-review-card {
    padding: 16px 0;
    border-bottom: 1px solid var(--ctrw-border);
    margin-bottom: 10px;
}

.ctrw-review-card:last-child {
    border-bottom: none;
}

.ctrw-review-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.ctrw-review-rating {
    color: var(--ctrw-primary);
    font-size: 16px;
    letter-spacing: 1px;
}

.ctrw-review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.ctrw-review-author {
    font-size: 14px;
    color: var(--ctrw-text);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.ctrw-author-name {
    font-weight: 600;
}

.ctrw-review-location {
    color: #888;
    font-size: 13px;
    font-weight: normal;
}

.ctrw-review-date {
    font-size: 12px;
    color: #888;
}

.ctrw-review-body {
    margin-left: 4px;
}

.ctrw-review-title {
    margin: 0 0 8px 0;
    font-size: 15px;
    color: var(--ctrw-text);
    font-weight: 600;
    line-height: 1.4;
}

.ctrw-review-content {
    font-size: 14px;
    color: #404040;
    line-height: 1.5;
    margin-bottom: 0px;
    padding-bottom: 5px;
}

.ctrw-admin-reply {
    padding: 12px;
    background: #F1F1F1;
    border-radius: 6px;
    margin-top: 0px;
}

.ctrw-reply-header {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 13px;
    color: var(--ctrw-text);
}

.ctrw-reply-header svg {
    margin-right: 6px;
}

.ctrw-reply-header svg path {
    stroke: var(--ctrw-primary);
}

.ctrw-reply-content {
    font-size: 13px;
    color: var(--ctrw-text-light);
    line-height: 1.5;
}

.ctrw-reviews-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--ctrw-border);
    text-align: center;
}

.ctrw-view-all-btn {
    background: var(--ctrw-primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.ctrw-view-all-btn:hover {
    filter: brightness(0.9);
    transform: translateY(-1px);
}

.ctrw-view-all-btn svg {
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.ctrw-view-all-btn:hover svg {
    transform: translateY(2px);
}

@keyframes ctrw-fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ctrw-reviews-list::-webkit-scrollbar {
    width: 6px;
}

.ctrw-reviews-list::-webkit-scrollbar-track {
    background: transparent;
}

.ctrw-reviews-list::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.1);
    border-radius: 3px;
}

.ctrw-reviews-list::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,0.2);
}

@media (max-width: 480px) {
    .ctrw-floating-widget {
        right: 10px;
        bottom: 0px;
        left: 10px;
    }
    
    .ctrw-floating-content {
        width: auto;
        max-height: 60vh;
    }
    
    .ctrw-reviews-header,
    .ctrw-reviews-list {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* === CTRW SLIDER STYLES === */
/* ==================== REVIEW SLIDER (SWIPER.JS) ==================== */

.ctrw-slider-container {
   width: 100%;
   margin: 5px auto;
   position: relative;
   box-sizing: border-box;
   overflow: hidden;
   padding-bottom: 10px;
}

.ctrw-reviews-swiper {
   padding: 10px 0 0px 0;
   overflow: hidden;
   position: relative;
   width: 100%;
   max-width: 100%;
   box-sizing: border-box;
   margin-bottom: 0px;
}

.ctrw-reviews-swiper .swiper-wrapper {
   align-items: stretch;
   width: 100%;
   display: flex;
   box-sizing: border-box;
}

.ctrw-reviews-swiper .swiper-slide {
   height: auto;
   display: flex;
   position: relative;
   flex-shrink: 0;
   isolation: isolate;
   z-index: 1;
}

.ctrw-review-card {
   background: #fff;
   border-radius: 12px;
   border: 1px solid #d1d5db;
   box-shadow: 0 2px 8px rgba(0,0,0,0.05);
   padding: 24px;
   display: flex;
   flex-direction: column;
   gap: 12px;
   width: 100%;
   box-sizing: border-box;
   transition: all 0.3s ease;
   min-height: 280px;
   min-width: 0;
   cursor: pointer;
   position: relative;
}

.ctrw-review-card:hover {
   box-shadow: 0 4px 16px rgba(0,0,0,0.1);
   transform: translateY(-2px);
   border-color: #9ca3af;
}

.ctrw-review-card.expanded {
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   min-height: auto;
   height: auto;
   z-index: 1000;
   box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.ctrw-card-spacer {
   visibility: hidden;
   pointer-events: none;
}

/* Header Section */
.ctrw-review-header {
   display: flex;
   flex-direction: column;
   gap: 10px;
   align-items: flex-start;
   margin-bottom: 0px;
}

.ctrw-review-avatar {
   flex-shrink: 0;
}

.ctrw-review-avatar img {
   border-radius: 50%;
   width: 48px;
   height: 48px;
   object-fit: cover;
}

.ctrw-review-meta {
   flex: 1;
   min-width: 0;
}

.ctrw-review-name {
   font-weight: 600;
   font-size: 16px;
   color: #111;
   margin: 0 0 2px 0;
   line-height: 1.3;
}

.ctrw-location-text {
   font-weight: normal;
   font-size: 13px;
   color: #888;
}

.ctrw-review-date {
   font-size: 13px;
   color: #888;
   margin: 0;
   line-height: 1.3;
}

.ctrw-review-location {
   font-size: 13px;
   color: #888;
   margin: 2px 0 0 0;
   line-height: 1.3;
}

/* Rating Stars */
.ctrw-review-rating {
   font-size: 20px;
   line-height: 1;
   letter-spacing: 2px;
   margin: 0;
}

.ctrw-review-rating .star {
   display: inline-block;
}

.ctrw-review-rating .star.filled {
   opacity: 1;
}

.ctrw-review-rating .star.empty {
   color: #ddd;
   opacity: 0.6;
}

/* Review Title */
.ctrw-review-title {
   font-weight: 600;
   font-size: 15px;
   color: #111;
   margin: 0;
   line-height: 1.4;
}

/* Review Content - Styles in inline stylesheet */
.ctrw-review-content {
   flex: 1;
   overflow: hidden;
   position: relative;
   z-index: 1;
   min-height: 120px;
   font-size: 15px;
   color: var(--ctrw-text-light);
   line-height: 1.6;
}

.ctrw-review-content p {
   margin: 0;
   display: -webkit-box;
   -webkit-line-clamp: 6;
   -webkit-box-orient: vertical;
   overflow: hidden;
   text-overflow: ellipsis;
}

.ctrw-review-card.expanded .ctrw-review-content p {
   display: block;
   -webkit-line-clamp: unset;
}

.ctrw-review-content::after {
   content: 'Click to read more';
   position: absolute;
   bottom: 0;
   right: 0;
   background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.9) 20%, #fff 40%);
   padding-left: 80px;
   padding-right: 4px;
   padding-top: 4px;
   padding-bottom: 4px;
   color: #0073aa;
   font-weight: 500;
   font-size: 13px;
   pointer-events: none;
   display: var(--hide-read-more, block);
   z-index: 2;
}

/* Review Modal */
.ctrw-review-modal {
   display: none;
   position: fixed;
   z-index: 9999;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
   background-color: rgba(0,0,0,0.6);
   animation: fadeIn 0.2s ease;
}

.ctrw-review-modal.active {
   display: flex;
   align-items: center;
   justify-content: center;
}

.ctrw-review-modal-content {
   background-color: #fff;
   padding: 40px;
   border-radius: 12px;
   max-width: 600px;
   width: 90%;
   max-height: 80vh;
   overflow-y: auto;
   position: relative;
   animation: slideUp 0.3s ease;
   box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.ctrw-review-modal-close {
   position: absolute;
   top: 16px;
   right: 16px;
   font-size: 28px;
   font-weight: bold;
   color: #666;
   cursor: pointer;
   background: none;
   border: none;
   padding: 4px 8px;
   line-height: 1;
}

.ctrw-review-modal-close:hover {
   color: #000;
}

@keyframes fadeIn {
   from { opacity: 0; }
   to { opacity: 1; }
}

@keyframes slideUp {
   from { transform: translateY(50px); opacity: 0; }
   to { transform: translateY(0); opacity: 1; }
}

.ctrw-review-modal .ctrw-slider-card {
   cursor: default;
   box-shadow: none;
   border: none;
   min-height: auto;
}

.ctrw-review-modal .ctrw-slider-content::after {
   display: none !important;
}

.ctrw-review-modal .ctrw-slider-content p {
   -webkit-line-clamp: unset;
   display: block;
   overflow: visible;
   padding-bottom: 0;
}

.ctrw-review-content[style*="--hide-read-more"]::after {
   display: none;
}

.ctrw-review-card.expanded .ctrw-review-content::after {
   content: '';
   display: none;
}

/* Swiper Navigation Buttons */
.ctrw-slider-nav {
   display: none !important;
}

/* Swiper Pagination */
.ctrw-reviews-swiper .swiper-pagination {
   bottom: -30px;
   left: 50%;
   transform: translateX(-50%);
   position: absolute;
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 8px;
   width: auto;
}

.ctrw-reviews-swiper .swiper-pagination-bullet {
   width: 10px;
   height: 10px;
   background: #ccc;
   opacity: 1;
   transition: all 0.3s ease;
   margin: 0;
}

.ctrw-reviews-swiper .swiper-pagination-bullet-active {
   background: #0073aa;
   width: 24px;
   border-radius: 5px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
   .ctrw-review-card {
       padding: 20px;
   }
}

@media (max-width: 480px) {
   .ctrw-review-card {
       padding: 16px;
   }
   
   .ctrw-review-name {
       font-size: 15px;
   }
   
   .ctrw-review-rating {
       font-size: 18px;
   }
}

/* === CTRW SUMMARY WIDGET STYLES === */
.review-widget-container {
    background-color: #ffffff;
    border: 1px solid #bababa;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 10px 25px 15px 25px;
    max-width: 580px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
}

.review-widget-container .review-header {
    text-align: center;
    font-size: 18pt;
    font-weight: 600;
    margin-bottom: 10px;
}

.review-widget-container .review-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.rating-summary-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 200px;
    border: 1px solid #bababa;
    border-radius: 8px;
    padding: 20px;
    background-color: #f6f6f6;
}
.average-rating-score {
    font-size: 3.5rem;
    font-weight: bold;
    line-height: 1;
}

.average-rating-score .max-score {
    font-size: 24pt;
    color: #9e9e9e;
    font-weight: normal;
    margin-left: 4px;
}
.star-display {
    font-size: 1.5rem;
    margin-top: 2px;
    letter-spacing: 0px;
}

.star-display .star-filled,
.star-display .star-half:after {
    color: var(--ctrw-star-color);
}

.star-half {
    position: relative;
    color: #e0e0e0;
}

.star-half:after {
    content: '★';
    position: absolute;
    left: 0;
    width: 50%;
    overflow: hidden;
}

.star-empty {
    color: #e0e0e0;
}

.total-reviews-text {
    font-size: 0.875rem;
    color: #757575;
    margin-top: 2px;
}

.rating-breakdown-block {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.star-label {
    font-size: 1.3rem;
    flex-shrink: 0;
    letter-spacing: 0px;
    color: var(--ctrw-star-color);
}

.bar-background {
    flex-grow: 1;
    height: 8px;
    background-color: #f1f1f1;
    border-radius: 4px;
    overflow: hidden;
}

.bar-foreground {
    height: 100%;
    background-color: var(--ctrw-star-color);
    border-radius: 4px;
    transition: width 0.6s ease;
}

.review-count {
    font-size: 0.875rem;
    color: #757575;
    min-width: 20px;
    text-align: right;
}

@media (max-width: 480px) {
    .review-widget-container {
        padding: 16px;
    }

    .review-widget-container .review-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .rating-summary-block {
        width: 100%;
        align-items: center;
    }

    .rating-breakdown-block {
        width: 100%;
    }

    .star-label {
        width: 70px;
    }

    .rating-bar-row {
        gap: 8px;
    }
}
/* Tooltip Styles for Frontend Form */
.ctrw-tooltip {
    position: relative;
    display: inline-block;
}

.ctrw-tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    text-align: left;
    font-size: 13px;
    line-height: 16px;
    border-radius: 3px;
    padding: 8px 12px;
    position: absolute;
    z-index: 999;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
}

.ctrw-tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
}

.ctrw-tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.ctrw-tooltip .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    line-height: 18px;
    cursor: help;
    color: #666;
}

.ctrw-tooltip .dashicons:hover {
    color: #000;
}

/* Independent CSS for modal card to prevent overlap with close button */
/* Independent CSS for modal card - completely separate from slider cards */
#ctrw-modal-body .ctrw-review-card {
   padding: 0px;
   min-height: auto;
   box-shadow: none;
   border: 0px;
   margin: 0;
   cursor: default;
   transition: none;
}

#ctrw-modal-body .ctrw-review-card:hover {
   transform: none;
   box-shadow: none;
   border-color: transparent;
}

#ctrw-modal-body .ctrw-review-header {
   gap: 12px;
}

#ctrw-modal-body .ctrw-review-avatar img {
   width: 50px;
   height: 50px;
}

#ctrw-modal-body .ctrw-review-name {
   font-size: 16px;
}

#ctrw-modal-body .ctrw-review-title {
   font-size: 16px;
}

#ctrw-modal-body .ctrw-review-content p {
   -webkit-line-clamp: unset !important;
   display: block !important;
   padding-bottom: 0;
}

#ctrw-modal-body .ctrw-review-content::after {
   display: none !important;
}
