.d-flex {
    display: flex;
}

.justify-content-between {
    justify-content: space-between;
}

#dashboardReviewContainer .restrict-page-blur {
    width: 95%;
}

.review-dashboard {
    background-color: var(--review-bg-new);
    height: 100%;
    width: 100%;
    padding: 0;
    overflow: auto;
    position: relative;
}

.global-state-notify {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 12px;
    width: 100%;
    pointer-events: none;
}

.global-state-notify-content {
    opacity: 0;
    display: inline-flex !important;
    padding: 12px 20px 12px 16px;
    justify-content: center;
    align-items: center;
    gap: 12px;
    border-radius: 12px;
    background-color: var(--sd-neutral-800);
    box-shadow: 0 2px 10px -2px rgba(51, 51, 51, 0.08), 0 4px 10px -1px rgba(51, 51, 51, 0.04);
    color: var(--sd-neutral-100);
    transition: all 0.25s ease;
    transform: translateY(-10px);
    z-index: 99999999999;
}

.global-state-notify-content.show {
    opacity: 1;
    transform: translateY(0);
}

.reviews-sections-col {
    display: flex;
    justify-content: space-between;
    gap: 72px;
    padding: 24px 80px;
}

.review-show-breakdown-wrapper {
    display: flex;
    align-items: flex-start;
    height: 100%;
}

.review-show-breakdown-btn {
    display:  flex;
    justify-content: center;
    align-items: center;
    height: 28px;
    width: 28px;
    min-width:  28px;
    background-color: var(--sd-neutral-300);
    border-radius: 14px;
    cursor: pointer;
}

.review-show-breakdown-btn:hover {
    background-color: var(--sd-neutral-400);
}

.review-show-breakdown-btn svg {
    margin-top: 0 !important;
}

.reviews-right-section {
    gap: 12px;
    width: 32%;
    min-width: 320px;
    max-width: 440px;
    display: flex;
    flex-direction: column;
}

.review-tabs {
    /*background-color: var(--integration-card-bg);*/
    height: fit-content;
}

.review-details {
    width: calc(100% - 320px);
    height: fit-content;
}

.review-details-filter-wrapper {
    display: flex;
    padding: 8px 6px 8px 12px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 8px;
    background: var(--dispatch-assign-button-bg);
}

.review-details-filter-wrapper:hover {
    cursor: pointer;
    opacity: 0.85;
}

.review-details-filter-options,
.review-details-filter-options-stars {
    border-radius: 8px;
    background: var(--review-options-holder-bg);
    box-shadow: 0 2px 10px -2px rgba(51, 51, 51, 0.08), 0 4px 10px -1px rgba(51, 51, 51, 0.04);
    padding: 4px 0;
}

.review-details-filter-options li,
.review-details-filter-options-stars li {
    padding: 8px 12px;
    display: flex;
    gap: 6px;
}

.review-details-filter-options li.selected {
    background-color: var(--review-sort-option-selected-bg);
    color: #008062;
}

.review-details-filter-options li svg {
    visibility: hidden;
}

.review-details-filter-options li.selected svg {
    visibility: visible;
}

.review-details-filter-options-stars li .check-box-selected {
    display: none;
}

.review-details-filter-options-stars li.selected .check-box-not-selected {
    display: none;
}

.review-details-filter-options-stars li.selected .check-box-selected {
    display: inline;
}

.review-details-filter-options li:hover,
.review-details-filter-options-stars li:hover {
    cursor: pointer;
    background: var(--sd-base-gray-50);
}

.review-summery-stars {
    border-bottom: 1px solid var(--sd-base-gray-50);
    padding-bottom: 18px;
}

.review-summery-star-single {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.review-summery-star-single span {
    max-width: 65px;
    white-space: pre;
}

.review-summery-star-single>span:first-child {
    min-width: max-content;
}

.sd-ai-brand-promo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    gap: 10px;
}

.sd-ai-brand-promo span {
    color: var(--sd-neutral-900);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
}

.review-star-pane {
    height: 8px;
    width: 90%;
    background-color: var(--sd-star-pane-bg);
    margin: 0 5px;
    border-radius: 6px;
}

.review-star-pane-filled {
    height: 8px;
    width: 0;
    background: var(--sd-neutral-800);
    /*border: 1px solid #E2A013;*/
    border-radius: 5px;
    transition: width 0.3s ease-in-out;
}

.review-star-percentage {
    max-width: 25px;
    width: 25px;
    text-align: right;
}

.review-key-words-section {
    margin-top: 23px;
}

.review-key-words {
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.key-word-header {
    height: 24px;
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
}

.review-key-word-single {
    padding: 8px 12px;
    font-size: 14px;
    line-height: 18px;
    background-color: #F7F9FA;;
    border: 1px solid #D3D3D3;
    border-radius: 6px;
    width: fit-content;
}

.review-details-header-section {
    align-items: flex-start;
}

.review-details-title {
    font-size: 26px;
    font-weight: 700;
    padding: 32px 24px 16px 24px;
    color: var(--sd-neutral-900);
    font-style: normal;
    line-height: 28px;
}

.review-details-sort-section {
    flex-flow: wrap;
    align-items: center;
    margin: 62px 0 44px;
    gap: 16px;
}

.review-details-sort-time .review-details-sort-select{
    min-width: 100px;
}

.review-details-sort-rating .review-details-sort-select{
    min-width: 60px;
}

.review-details-sort-select {
    outline: none !important;
    border: none !important;
    cursor: pointer;
}

.review-details-sort-tab {
    border: 1px solid var(--modal-input-border);
    border-radius: 6px;
    padding: 9px 12px;
    font-size: 12px;
}

.review-details-sort-tab select {
    cursor: pointer;
    padding-right: 0px !important;
}

.review-details-sort-dir select {
    padding-right: 20px !important;
}

.review-details-bullets {
    margin-top: 15px;
}

.review-details-number,
.review-details-number-driver,
.review-details-number-service {
    font-weight: 700;
    font-size: 48px;
    line-height: 48px;
    margin-right: 5px;
    color: var(--sd-neutral-800);
}

.rating-star-wrapper {
    margin: 10px 0;
}

.review-details-count-text {
    font-size: 16px;
    color: var(--sd-neutral-600);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.32px;
}

.review-details-stars {
    gap: 5px;
    padding-left: 5px;
    align-items: center;
}

.review-details-static {
    display: flex;
}

.order-rating-section,
.driver-rating-section,
.service-rating-section {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-direction: column;
}

.breakdown-reviews-wrapper {
    width: 231px;
}

.order-review-container {
    display: block;
}

.order-rating-section, .driver-rating-section {
    border-right: 1px solid var(--sd-neutral-300);
    padding-right: 32px;
    margin-right: 32px;
}

.rating-title {
    color: var(--sd-neutral-900);
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px;
}

.review-unavailable {
    color: var(--sd-base-gray-300);
    text-align: center;
    padding-top: 24px;
}

.review-single {
    border-bottom: 1px solid var(--sd-neutral-300);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.review-single-top {
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.review-single-icon-and-info-wrap {
    display: flex;
    gap: 8px;
    justify-content: flex-start;
    align-items: flex-start;
}

.review-single-icon-and-info-wrap .sd-name-icon {
    height: 36px;
    width: 36px;
    border-radius: 18px;
    font-size: 14px;
}

.review-single-name-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-single-cus-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--sd-neutral-800);
    font-style: normal;
    line-height: 28px;
}

.review-single-repeatCus {
    font-size: 11px;
    color: #17C289;
    border-radius: 20px;
    padding: 5px 10px 3px;
    border: 1px solid #17C289;
}

.review-contact-holder {
    height: 28px;
    width: 28px;
    border-radius: 6px;
    display: none;
}

.review-contact-holder:hover {
    cursor: pointer;
    background: var(--sd-neutral-300);
}

#review-customer-contact-modal .modal-backdrop.in,
#routing-tab-orders-filter-modal .modal-backdrop.in {
    opacity: 0;
}

#review-customer-contact-modal .contact-row-single:hover {
    cursor: pointer;
    background: var(--sd-neutral-200);
}

#review-customer-contact-modal .contact-row-single {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    color: var(--sd-neutral-800);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.review-contact-holder[data-phone] + .tooltip > .tooltip-inner {
    background-color: var(--sd-tooltip-bg) !important;
    color: var(--sd-tooltip-color) !important;
    border: none !important;
    padding: 6px 10px !important;
    border-radius: 6px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 16px !important;
}

.review-contact-holder[data-phone] + .tooltip.top .tooltip-arrow {
    bottom: 0;
    left: 50%;
    margin-left: -5px;
    border-width: 5px 5px 0;
    border-top-color: var(--sd-tooltip-bg);
    border-left-color: var(--sd-tooltip-color);
    border-right-color: var(--sd-tooltip-color);
}

#review-customer-contact-modal .modal-dialog,
#routing-tab-orders-filter-modal .modal-dialog {
    position: absolute;
    width: fit-content;
}

#routing-tab-orders-filter-modal .modal-body .selection-holder {
    width: 24px;
    height: 24px;
    position: relative;
}

#routing-tab-orders-filter-modal .modal-body .option-label {
    display: flex;
    padding: 6px;
    align-items: center;
    gap: 8px;
    color: var(--sd-neutral-700-route);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
}

#routing-tab-orders-filter-modal .modal-header {
    padding: 6px 12px;
    color: var(--sd-neutral-600);;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
}

#routing-tab-orders-filter-modal .modal-content {
    width: 240px;
    padding: 4px 0;
    border: none;
    border-radius: 8px;
    box-shadow: 0 0 6px 0 rgba(51, 51, 51, 0.04), 0 4px 15px -3px rgba(51, 51, 51, 0.08);
}

#review-customer-contact-modal .modal-content {
    padding: 0;
    width: fit-content;
    box-shadow: 0 2px 10px -2px rgba(51, 51, 51, 0.08), 0 4px 10px -1px rgba(51, 51, 51, 0.04);
    border: none;
    margin: 4px 0;
}

.reviews-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
}

.reviews-empty-state svg {
    margin-bottom: 24px;
}

.reviews-empty-state-title {
    font-size: 20px;
    line-height: 30px;
    font-weight: 700;
    color: var(--sd-neutral-800);
    margin-bottom: 8px;
}

.reviews-empty-state-subtitle {
    font-size: 16px;
    line-height: 24px;
    color: var(--sd-neutral-500);
    font-weight: 400;
}

.review-single-stars {
    padding-top: 14px;
    gap: 14px;
}

.single-review-segment {
    display: flex;
    gap: 6px;
    align-items: center;
    font-size: 14px;
    line-height: 14px;
    font-style: normal;
    font-weight: 500;
    color: var(--sd-neutral-600);
}

.single-review-segment-value {
    font-weight: 700 !important;
    color: var(--sd-neutral-800) !important;
    margin-top: -2px;
}

.review-single-dot {
    height: 2px;
    background-color: #4a4a4a;
    border-radius: 50%;
    padding: 2px;
    margin-top: 5px;
}

.review-single-info {
    gap: 8px;
    padding-top: 4px;
    font-size: 12px;
    color: var(--sd-neutral-600);
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
}

.review-single-order-id-span {
    text-decoration: underline;
    cursor: pointer;
}

.review-single-feedback-text {
    padding-top: 14px;
    font-size: 14px;
    color: var(--sd-neutral-950);
    font-style: normal;
    font-weight: 350;
    line-height: 24px; /* 171.429% */
}

.review-single-reply-btn, .review-single-write-response-btn, .review-single-write-cancel-btn {
    padding: 8px 12px;
    margin-top: 16px;
    border: 1px solid #EFEFEF;
    border-radius: 6px;
    width: fit-content;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.review-single-reply-btn:hover, .review-single-write-response-btn:hover, .review-single-write-cancel-btn:hover, .reviews-details-pagination-btn:hover {
    border: 1px solid var(--sd-base-gray-300);
}

.review-single-write-response, .review-single-response {
    border-left: 4px solid var(--sd-base-gray-50);
    padding: 4px 12px;
    margin-top: 16px;
    display: inline-block;
    width: 100%;
}

.review-single-write-response-input {
    width: 100%;
    resize: vertical;
    min-height: 50px;
    border: 1px solid var(--sd-base-gray-200);
    border-radius: 6px;
    padding: 10px;
    transition: all 0.2s ease-in-out;
}

.review-single-write-response-input:focus {
    outline: none !important;
    border: 1px solid var(--sd-base-gray-500);
}

.review-single-write-response-btn {
    margin-top: 10px;
    float: right;
}

.review-single-write-cancel-btn {
    margin-top: 10px;
    float: right;
    margin-right: 10px;
}

.review-single-response-name {
    font-size: 18px;
    font-weight: 600;
}

.review-single-response-info {
    gap: 5px;
    font-weight: 600;
    color: #4A4A4A;
    margin-top: 4px;
}

.review-single-response-text {
    margin-top: 8px;
}

.review-response-action-container {
    display: flex;
    gap: 16px;
    align-items: center;
    padding-top: 20px;
}

.review-response-respond-action {
    /*display: flex;*/
    gap: 4px;
    padding: 6px 16px 2px 10px;
    border: 1px solid var(--sd-neutral-400);
    font-size: 14px;
    line-height: 22px;
    border-radius: 99px;
    cursor: pointer;
    font-weight: 500;
    display: none;
}

.review-response-respond-action:hover {
    border: 1px solid var(--sd-neutral-500);
}

.review-response-ai-responded-action, .review-response-responded-action {
    padding: 6px 14px 1px 8px;
    background-color: var(--sd-pill-bg);
    color: var(--sd-pill-text);
    /*display: flex;*/
    gap: 8px;
    font-size: 14px;
    line-height: 22px;
    border-radius: 99px;
    cursor: pointer;
    font-weight: 500;
    display: none;
}

.review-loading {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}

.reviews-details-pagination-section {
    justify-content: center;
    gap: 10px;
    margin: 24px 0;
}

.reviews-details-pagination-btn {
    border: 1px solid var(--sd-base-gray-50);
    padding: 6px;
    width: 100px;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
}

.reviews-details-pagination-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.review-overlay {
    position: absolute;
    display: flex;
    justify-content: center;
    width: 100%;
    justify-items: center;
    height: 100%;
    background: linear-gradient(360deg, snow, #f9f6f6f2, #f9f6f600);
    z-index: 1;
}

.review-overlay-section {
    margin-top: 70vh;
}

.mentions-tab {
    padding: 0!important;
}

#review-intelligence-tab {
    display: none;
    border-radius: 16px;
    border: 1px solid var(--sd-neutral-300);
    /*position: fixed;*/
    /*width: 400px;*/
    right: 2vw;
}

.review-mentions-single {
    border-top: 1px solid var(--sd-neutral-300);
    padding: 20px;
}

.review-mentions-single-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    color: var(--sd-neutral-800);
}

.empty-insight-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-top: 1px solid var(--sd-neutral-300);
    height: 245px;
}

.empty-insight-container img {
    margin-bottom: 12px;
}

.empty-insight-title {
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--sd-neutral-800);
}

.empty-insight-subtitle {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: var(--sd-neutral-500);
}

.review-mentions-single-des {
    color: var(--sd-neutral-600);
    padding-top: 4px;
    font-size: 14px;
    font-style: normal;
    font-weight: 350;
    line-height: 24px;
}

.review-green-tag {
    color: #18C289;
}

.review-red-tag {
    color: #EF5458;
}

.review-mentions-single-per {
    display: flex;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    font-size: 14px;
    font-weight: 600;
    padding-top: 12px;
    font-style: normal;
    line-height: normal;
    letter-spacing: -0.28px;
}

.mentions-tag {
    color: var(--sd-neutral-800);
    width: 100%;
}

.mentions-pane-filled {
    height: 6px;
    border-radius: 6px;
    background: var(--sd-neutral-500);
}

.mention-percentage-positive .mentions-pane-filled {
    background-color: var(--sd-primary-100);
}

.mention-percentage-negative .mentions-pane-filled {
    background-color: #EF5458;
}

.mentions-percentage-number {
    width: 40px;
    color: var(--sd-neutral-600);
}

.review-mentions-keywords {
    display: flex;
    gap: 8px;
    padding-top: 8px;
    flex-wrap: wrap;
}

.review-mentions-no-keywords {
    font-weight: 400;
    color: var(--sd-neutral-500);
    padding-top: 8px;
}

.review-mentions-single-key {
    padding: 4px 8px;
    border-radius: 12px;
}

.review-mentions-positive-keywords .review-mentions-single-key {
    background-color: #EBFEF6;
    color: #03624C;
}

.review-mentions-negative-keywords .review-mentions-single-key {
    background-color: #FEF3F2;
    color: #D92D20;
}

.review-mentions-footer {
    display: flex;
    gap: 12px;
    padding: 20px;
}

.shipday-copilot-logo {
    height: 40px;
    width: 40px;
}

.shipday-copilot-details {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
}

.shipday-copilot-name {
    font-weight: 700;
}

.review-clickable-text {
    cursor: pointer;
    text-decoration: underline;
}

#driver-specific-reviews-modal .modal-dialog {
    max-width: 715px;
}

.d-rate-mod-driver-name {
    color: var(--sd-neutral-800);
    font-size: 20px;
    font-weight: 800;
    line-height: 28px
}

.d-rate-mod-top-container {
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 0 24px 34px;
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.d-rate-mod-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.d-rate-mod-box {
    display: inline-flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.d-rate-mod-value-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.d-rate-mod-value {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.d-rate-mod-number {
    color: var(--sd-neutral-800);
    font-size: 28px;
    font-weight: 800;
    line-height: 32px;
    word-wrap: break-word;
    display: flex;
    gap: 4px;
}

.d-rate-mod-label {
    color: var(--sd-neutral-600);
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    word-wrap: break-word;
}

.d-rate-mod-divider {
    width: 1px;
    height: 96px;
    background: var(--sd-neutral-300);
}

.d-rate-mod-details {
    width: 140px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
    margin-right: 20px;
}

.d-rate-mod-overall-label {
    color: var(--sd-neutral-600);
    font-size: 16px;
    font-family: Avenir, sans-serif;
    font-weight: 500;
    line-height: 20px;
    word-wrap: break-word;
}

.d-rate-mod-items {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 7px;
    width: 100%;
}

.d-rate-mod-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.d-rate-mod-item-number {
    color: var(--sd-neutral-600);
    font-size: 12px;
    font-family: Avenir, sans-serif;
    font-weight: 400;
    line-height: 10px;
    word-wrap: break-word;
}

.d-rate-mod-bar-container {
    flex: 1 1 0;
    height: 6px;
    justify-content: flex-start;
    align-items: center;
    display: flex;
    position: relative;
    border-radius: 8px;
}

.d-rate-mod-bar-bg {
    width: 100%;
    height: 6px;
    background: var(--sd-neutral-300);
    border-radius: 6px;
    position: relative;
}

.d-rate-mod-bar-fill {
    height: 6px;
    background: var(--sd-neutral-800);
    border-radius: 6px;
    position: absolute;
    left: 0;
    top: 0;
    transition: width 0.5s ease-in-out;
}

.d-rate-mod-star {
    width: 22px;
    height: 20px;
}

.d-rate-mod-rev-list-container {
    min-height: 250px;
    max-height: calc(85vh - 300px);
    border-top: 1px solid var(--sd-neutral-300);
    padding: 20px 24px 24px;
}

.d-rate-mod-rev-list-container .review-single:first-child {
    margin-top: 0;
    border-top: none;
}

.d-rate-mod-rev-list-container .review-single:last-child {
    border: none;
}

.sd-modal-v5 .sd-btn-group {
    padding: 0 24px 24px;
}

.sd-scroll-y {
    overflow-y: auto !important;
}

@media only screen and (max-device-width: 500px) {
    .reviews-sections-col {
        padding: 24px 32px;
    }

    .rating-title {
        font-size: 14px;
        line-height: normal;
    }

    .review-details-count-text {
        font-size: 12px;
        line-height: normal;
    }

    .review-details-number,
    .review-details-number-driver,
    .review-details-number-service {
        font-size: 24px;
        line-height: 24px;
        margin-right: 5px;
    }

    .order-rating-section, .driver-rating-section {
        padding-right: 22px;
        margin-right: 22px;
    }

    .order-rating-section svg,
    .driver-rating-section svg {
        width: 28px;
        height: 20px;
        margin-top: 6px;
    }

    .review-summery-star-single {
        font-size: 12px;
    }
}

@media (min-width: 501px) and (max-width: 1199px) {
    .reviews-sections-col {
        padding: 24px 32px;
    }

    .rating-title {
        font-size: 14px;
        line-height: normal;
    }

    .review-details-count-text {
        font-size: 12px;
        line-height: normal;
    }

    .review-details-number,
    .review-details-number-driver,
    .review-details-number-service {
        font-size: 24px;
        line-height: 24px;
        margin-right: 5px;
    }

    .order-rating-section, .driver-rating-section {
        padding-right: 22px;
        margin-right: 22px;
    }

    .order-rating-section svg,
    .driver-rating-section svg {
        width: 28px;
        height: 20px;
        margin-top: 6px;
    }

    .review-summery-star-single {
        font-size: 12px;
    }
}

@media (max-width: 1200px) {
    #review-intelligence-tab {
        width: 320px;
    }
}

.review-response-sub {
    font-size: 14px;
    margin-top: -36px;
    padding-bottom: 20px;
    color: var(--sd-neutral-500);
}

.review-response-generate-btn, .review-response-rewrite-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    color: var(--sd-neutral-800);
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease, opacity 0.2s ease-in-out;
}

.review-response-generate-btn:hover, .review-response-rewrite-btn:hover {
    background: var(--sd-primary-400);
}

.review-response-btn-fadeout {
    opacity: 0;
    pointer-events: none;
}

.review-response-textarea-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    margin-top: -20px;
}

.review-response-textarea {
    resize: none;
    border-radius: 8px;
    box-shadow: none;
    margin-bottom: 20px;
    width: 100%;
}

.skeleton-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 20px);
    background-color: var(--sd-neutral-200);
    border: 1px solid var(--sd-neutral-300);
    border-radius: 8px;
    pointer-events: none;
    display: none;
    overflow: hidden;
    padding: 10px;
    box-sizing: border-box;
}

.skeleton-line {
    width: 100%;
    height: 10px;
    margin-bottom: 8px;
    background-color: #d0d0d0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skeleton-line.long {
    width: 90%;
}

.skeleton-line.short {
    width: 60%;
}

/* Shimmer effect on each line */
.skeleton-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgb(255 255 255 / 30%), transparent);
    animation: shimmer 1.5s infinite;
}

/* Shimmer animation */
@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.review-mentions-single-insights {
    display: flex;
    align-items: center;
    gap: 5px;
}

.reviews-suggestions-empty {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
}

.reviews-suggestions-empty-icon {
    padding: 10px;
    background: var(--sd-neutral-200);
    display: flex;
    border-radius: 30px;
}

.reviews-suggestions-ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px 0 0 10px ;
}

.reviews-cus-toggle {
    display: flex;
    padding: 8px 12px;
    margin: 62px 0 44px;
    border-radius: 8px;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    gap: 12px;
    color: var(--sd-neutral-800);
    white-space: nowrap;
    cursor: pointer;
}

.reviews-cus-toggle-settings {
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.reviews-cus-toggle-label {
    display: flex;
    gap: 4px;
}

.reviews-cus-toggle-switch, .reviews-cus-feedback-toggle, .ai-agent-toggle {
    cursor: pointer;
}

.reviews-cus-toggle-switch img, .reviews-cus-feedback-toggle img, .ai-agent-toggle img {
    display: none;
}

.reviews-cus-toggle-switch[data-state="on"] .toggle-on , .reviews-cus-feedback-toggle[data-state="on"] .toggle-on, .ai-agent-toggle[data-state="on"] .toggle-on {
    display: block;
}

.reviews-cus-toggle-switch[data-state="off"] .toggle-off, .reviews-cus-feedback-toggle[data-state="off"] .toggle-off, .ai-agent-toggle[data-state="off"] .toggle-off {
    display: block;
}

.reviews-cus-toggle-switch[data-state="disabled"] .toggle-disable, .reviews-cus-feedback-toggle[data-state="disabled"] .toggle-disable, .ai-agent-toggle[data-state="disabled"] .toggle-disable {
    display: block;
    pointer-events: none;
}

.reviews-cus-toggle-switch[data-state="disabled"], .reviews-cus-feedback-toggle[data-state="disabled"], .ai-agent-toggle[data-state="disabled"] {
    pointer-events: none;
}


.modal-xxl.modal-dialog {
    width: 1044px;
    height: 704px;
}

@media (max-width: 1100px) {
    .modal-xxl.modal-dialog {
        width: 900px;
    }

    .reviews-cus-presets {
        margin-top: 10px;
    }
}

.modal-xxl .modal-content {
    height: 100%;
}

#reviews-customisation-modal .modal-content {
    border: none;
}

.reviews-cus-close, .ai-marketing-close {
    position: absolute;
    right: 12px;
    top: 12px;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 9;
    cursor: pointer;
    background: var(--sd-neutral-100);
}

.reviews-cus-close:hover, .ai-marketing-close:hover {
    opacity: 0.85;
}

.reviews-cus-container, .ai-marketing-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.reviews-cus-top-content, .ai-marketing-top-content {
    display: flex;
    width: 100%;
    height: 580px;
    align-items: flex-start;
}

.reviews-cus-top-left, .ai-marketing-top-left {
    padding: 36px;
    height: 100%;
}

.reviews-cus-top-left-fixed {
    width: calc(100% - 400px);
}

.reviews-cus-top-right-fixed {
    width: 400px;
    height: 100%;
    border-left: 1px solid var(--sd-neutral-300);
    padding: 104px 36px 36px;
}

.reviews-cus-icon, .ai-marketing-icon {
    margin-bottom: 16px;
}

.reviews-cus-header, .ai-agent-header, .ai-marketing-header-section {
    font-size: 24px;
    color: var(--sd-neutral-800);
    font-weight: 700;
    line-height: 32px;
}

.reviews-cus-subHeader, .ai-agent-subHeader {
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
}

.reviews-cus-left-content, .ai-marketing-left-content {
    display: flex;
}

.reviews-cus-step-0, .ai-marketing-step-0 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.reviews-cus-step-0-content, .ai-marketing-step-0-content {
    height: 486px;
}

.reviews-cus-0-items, .ai-marketing-0-items {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.reviews-cus-point-item, .ai-marketing-point-item {
    display: flex;
    align-items: start;
    gap: 12px;
}

.reviews-cus-point-text-header, .reviews-cus-preset-guide-header, .reviews-cus-preset-title, .reviews-cus-preset-guide-header, .ai-marketing-point-text-header {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    color: var(--sd-neutral-800);
}

.reviews-cus-point-text-sec, .reviews-cus-preset-guide-sub, reviews-cus-preset-guide-input-container, .ai-marketing-point-text-sec, .ai-marketing-point-text-content {
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.reviews-cus-0-footer, .ai-marketing-0-footer {
    width: 100%;
}

.reviews-cus-0-btn, .ai-marketing-0-btn {
    font-size: 16px;
    color: #FFFFFF;
    font-weight: 500;
    line-height: 24px;
    padding: 12px 24px;
    width: 100%;
    background: var(--theme-color-greenish);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
}

.reviews-cus-banner-section, .ai-marketing-banner-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    align-items: center;
    height: 704px;
}

.review-cus-img-banner, .ai-marketing-img-banner {
    height: 100%;
    border-radius: 0 20px 20px 0;
    object-fit: contain;
}

.review-cus-img-showcase, .ai-marketing-img-showcase {
    position: absolute;
    bottom: 16px;
    height: 200px;
}

.reviews-cus-step, .ai-marketing-step {
    width: 100%;
}

.reviews-cus-step-1, .reviews-cus-step-2, .reviews-cus-step-3, .reviews-cus-step-4, .reviews-cus-step-5 {
    display: none;
}

.reviews-cus-emotion-specific-toggle-wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 16px;
}

.reviews-cus-feedback-toggle-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border: 1px solid var(--sd-neutral-300);
    border-radius: 10px;
}

.reviews-cus-preview-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.reviews-cus-prev-header, .reviews-cus-preview-ai-header {
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    color: var(--sd-neutral-700);
}

.reviews-cus-preview-ai-loading {
    position: relative;
    margin-top: 16px;
    display: none;
}

.reviews-cus-preview-skeleton {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100px;
    background: none;
    border: none;
    gap: 9px;
    padding: 0;
    border-radius: 0;
}

.reviews-cus-preview-skeleton .skeleton-line {
    margin-bottom: 0;
    height: 16px;
    background-color: var(--sd-neutral-400);
}

.reviews-cus-prev-ratings {
    margin-top: 16px;
}

.reviews-cus-prev-ratings {
    display: flex;
    gap: 16px;
    font-weight: 400;
    line-height: 20px;
}

.reviews-cus-prev-text, .reviews-cus-preview-ai-response {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--sd-neutral-600);
}

.reviews-cus-preview-ai-response {
    margin-top: 16px;
    max-height: 230px;
    overflow: auto;
}

.reviews-cus-divider {
    height: 1px;
    width: 100%;
    background: var(--sd-neutral-300);
}

.reviews-cus-style-container {
    display: flex;
    flex-direction: column;
    gap: 44px;
    margin-top: 32px;
}

.reviews-cus-voice-style {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reviews-cus-voice-style-boxes {
    display: flex;
    gap: 8px;
    height: 110px;
}

.reviews-cus-voice-style-single-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    border: 1px solid var(--sd-neutral-300);
    border-radius: 12px;
    width: 100%;
    max-width: 200px;
    padding: 16px 16px 20px 16px;
    cursor: pointer;
}

.reviews-cus-voice-style-single-box:hover, .reviews-cus-preset-guide-container:hover {
    border: 1px solid var(--sd-neutral-400);
    transition: all 2.5ms ease-in-out;
}


.reviews-cus-voice-style-single-box.selected, .reviews-cus-preset-guide-container.selected {
    border: 1px solid var(--theme-color-greenish);
    background: var(--sd-green-25);
}

.reviews-cus-reply-style-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 12px;
}

.reviews-cus-reply-style-single-box {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    font-weight: 500;
    border: 1px solid var(--sd-neutral-300);
    border-radius: 10px;
    cursor: pointer;
}

.reviews-cus-reply-style-radio {
    display: flex;
    align-items: center;
}

.reviews-cus-radio-selected {
    display: none;
}

.reviews-cus-preset-title {
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
}

.reviews-cus-preset-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 12px;
    transition: all 0.3s ease-in-out;
}

.reviews-cus-preset-container.inactive {
    opacity: 0.5;
    pointer-events: none;
    color: var(--sd-neutral-500);
}

.reviews-cus-presets-text {
    width: 92%;
}

.reviews-cus-preset-guide-container {
    display: flex;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--sd-neutral-300);
    border-radius: 10px;
    cursor: pointer;
}

.reviews-cus-presets {
    margin-top: 32px;
}

.reviews-cus-preset-custom {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 16px;
}

.reviews-cus-preset-custom textarea {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    color: var(--sd-neutral-600);
}

.reviews-cus-test-container {
    position: absolute;
    display: flex;
    gap: 24px;
    margin-top: 48px;
    width: calc(100% - 72px);
    justify-content: space-between;
}

.reviews-cus-test-input-container {
    width: 100%;
    position: relative;
    margin-top: 12px;
    border: 1px solid var(--sd-neutral-300);
    padding: 12px 16px 16px 16px;
    border-radius: 10px;
    height: 345px;
}

.reviews-cus-test-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    padding: 8px 12px 8px 8px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    background: linear-gradient(95deg, rgba(206, 240, 248, 0.80) 0.92%, rgba(205, 255, 174, 0.30) 101.39%);
    border-radius: 8px;
    font-weight: 500;
    line-height: 20px;
    cursor: pointer;
}

.reviews-cus-test-output, .reviews-cus-test-input {
    width: 50%;
}

.reviews-cus-test-output-container {
    width: 100%;
    margin-top: 12px;
    height: 345px;
    border-radius: 10px;
    background: var(--sd-neutral-300);
    padding: 16px;
}

.reviews-cus-test-output-initial {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.reviews-cus-test-output-text {
    font-size: 16px;
    font-weight: 500;
}

.reviews-cus-test-output-loading {
    position: relative;
    display: none;
}

.reviews-cus-test-input-reviews {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: -10px;
}

.reviews-cus-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 18px;
    font-weight: 600;
    color: var(--sd-neutral-600);
}

.reviews-cus-rating label {
    color: var(--sd-neutral-600);
    white-space: nowrap;
}

.reviews-cus-value {
    font-weight: bold;
    font-size: 16px;
}

.reviews-cus-star {
    width: 14px;
    height: 14px;
    margin-bottom: 2px;
}

.reviews-cus-stepper {
    display: flex;
    flex-direction: column;
}

.reviews-cus-stepper-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 8px;
    color: var(--sd-neutral-600);
    padding: 0;
    line-height: 10px;
}

.reviews-cus-footer {
    height: 120px;
    width: 100%;
    display: none;
}

.reviews-cus-footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 36px;
}

.reviews-cus-step-vis {
    height: 4px;
    background: var(--sd-neutral-300);
    position: relative;
}

.reviews-cus-step-vis-green {
    position: absolute;
    left: 0;
    width: 20%;
    height: 100%;
    background: var(--theme-color-greenish);
    transition: width 0.25s ease-in-out;
}

.reviews-cus-page-ind {
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    color: var(--sd-neutral-600);
}

.reviews-cus-btn {
    display: flex;
    padding: 10px 16px 10px 24px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    transition: all 0.25s ease-in-out;
}

.reviews-cus-back-btn:hover {
    border: 1px solid var(--sd-neutral-400);
}

.reviews-cus-next-btn {
    background: var(--theme-color-greenish);
    color: #FFFFFF;
}

.reviews-cus-next-btn:hover {
    background: var(--sd-pill-text);
}

.reviews-cus-next-btn.disabled {
    opacity: 0.7;
    pointer-events: none;
}

.reviews-cus-launch-btn {
    display: none;
    padding: 10px 24px;
}

.reviews-cus-back-btn {
    color: var(--sd-neutral-600);
    border: 1px solid var(--sd-neutral-300);
}

/* Negative Review Styles */
.sd-negative-review-container {
    margin-top: -24px;
    margin-bottom: -12px;
}

.sd-neg-rev-container {
    background-color: var(--sd-neutral-100);
    border-radius: 12px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sd-neg-rev-card {
    border: 1px solid var(--sd-neutral-300);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sd-neg-rev-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.sd-neg-rev-customer-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--sd-neutral-950);
    line-height: 1.4;
}

.sd-neg-rev-name-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sd-neg-rev-repeat-customer {
    font-size: 11px;
    color: #17C289;
    border-radius: 20px;
    padding: 5px 10px 3px;
    border: 1px solid #17C289;
}

.sd-neg-rev-flag-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.sd-neg-rev-info {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 13px;
    color: var(--sd-neutral-700);
    line-height: 1.4;
}

.sd-neg-rev-date,
.sd-neg-rev-order-id,
.sd-neg-rev-phone,
.sd-neg-rev-driver {
    white-space: nowrap;
}

.sd-neg-rev-ratings {
    display: flex;
    gap: 14px;
    align-items: center;
}

.sd-neg-rev-rating-segment {
    display: flex;
    gap: 6px;
    align-items: flex-end;
}

.sd-neg-rev-rating-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--sd-neutral-800);
    line-height: 10px;
}

.sd-neg-rev-stars {
    display: flex;
    gap: 4px;
    align-items: center;
}

.sd-neg-rev-star {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sd-neg-rev-feedback-text {
    font-size: 16px;
    color: var(--sd-neutral-800);
    line-height: 1.4;
    font-weight: 350;
}

.sd-neg-rev-response-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sd-neg-rev-response-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sd-neg-rev-response-header-close {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
}

.sd-neg-rev-response-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--sd-neutral-950);
    line-height: 1.4;
}

.sd-neg-rev-ai-respond-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.sd-neg-rev-ai-respond-btn:hover {
    background-color: var(--sd-neutral-200);
}

.sd-neg-rev-ai-respond-btn span {
    font-size: 16px;
    font-weight: 500;
    color: var(--sd-neutral-950);
    line-height: 1.4;
}

.sd-neg-rev-responder-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--sd-neutral-950);
    line-height: 1.4;
}

.sd-neg-rev-response-date {
    font-size: 14px;
    font-weight: 400;
    color: var(--sd-neutral-500);
    padding-top: 2px;
}

.sd-neg-rev-textarea-container {
    background: var(--sd-neutral-200);
    border-radius: 10px;
    padding: 16px;
    position: relative;
}

.sd-neg-rev-textarea {
    width: 100%;
    border: none;
    background: transparent;
    resize: vertical;
    min-height: 66px;
    font-size: 16px;
    color: var(--sd-neutral-600);
    line-height: 1.4;
    font-family: inherit;
    outline: none;
    resize: none;
}

.sd-neg-rev-textarea::placeholder {
    color: var(--sd-neutral-600);
}

.sd-neg-rev-btn-fadeout {
    opacity: 0.3;
    pointer-events: none;
}

.sd-neg-rev-order-id-span {
    color: var(--sd-primary-600);
    cursor: pointer;
    text-decoration: underline;
}

.sd-neg-rev-order-id-span:hover {
    color: var(--sd-primary-700);
}

.sd-neg-rev-skeleton-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 20px);
    background-color: var(--sd-neutral-200);
    border-radius: 8px;
    pointer-events: none;
    display: none;
    overflow: hidden;
    padding: 10px;
    box-sizing: border-box;
}

.sd-neg-rev-skeleton-line {
    width: 100%;
    height: 10px;
    margin-bottom: 8px;
    background-color: #d0d0d0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.sd-neg-rev-skeleton-line.long {
    width: 90%;
}

.sd-neg-rev-skeleton-line.short {
    width: 60%;
}

/* Shimmer effect on each line */
.sd-neg-rev-skeleton-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgb(255 255 255 / 30%), transparent);
    animation: shimmer 1.5s infinite;
}

/* Shimmer animation */
@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.sd-neg-rev-response-text {
    font-size: 14px;
    color: var(--sd-neutral-600);
    line-height: 1.4;
    font-weight: 350;
}

.sd-neg-rev-action-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 38px;
}

.sd-neg-rev-cancel-btn,
.sd-neg-rev-post-btn,
.sd-neg-rev-continue-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.sd-neg-rev-cancel-btn {
    color: var(--sd-neutral-600);
    border-color: var(--sd-neutral-300);
    background-color: transparent;
}

.sd-neg-rev-cancel-btn:hover {
    border-color: var(--sd-neutral-400);
    background-color: var(--sd-neutral-100);
}

.sd-neg-rev-post-btn,
.sd-neg-rev-continue-btn {
    color: #ffffff;
    background-color: var(--theme-color-greenish);
    border-color: var(--theme-color-greenish);
}

.sd-neg-rev-post-btn:hover,
.sd-neg-rev-continue-btn:hover {
    background-color: var(--sd-pill-text);
    border-color: var(--sd-pill-text);
}
