/* -------------------------------------------------------
Variable font.
Usage:

  html { font-family: 'Inter', sans-serif; }
  @supports (font-variation-settings: normal) {
    html { font-family: 'Inter var', sans-serif; }
  }
*/
html {
    font-family: "Inter", sans-serif;
}
@supports (font-variation-settings: normal) {
    html {
        font-family: "Inter var", sans-serif;
    }
}
@font-face {
    font-family: "Inter var";
    font-weight: 100 900;
    font-display: swap;
    font-style: normal;
    font-named-instance: "Regular";
    src: url("fonts/Inter-roman.woff2") format("woff2");
}

.py-2\.2 {
    padding-top: 0.555rem;
    padding-bottom: 0.555rem;
}

.px-2\.5 {
    padding-left: 0.625rem;
    padding-right: 0.625rem;
}
.py-1\.5 {
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
}

.rotate-90 {
    --transform-rotate: 90deg;
}

/* Left */

.left-full {
    left: 100%;
}

/* Top */

.-top-40 {
    top: -40px;
}

/* Width */

.-mt-full {
    margin-top: -100%;
}

.w-22 {
    width: 5.75rem;
}

/* Min width */

.min-w-4 {
    min-width: 1rem;
}

/* Custom font size */

.text-4\.5xl {
    font-size: 2.625rem;
}

/* AlpineJS hide flash hidden content */

[x-cloak] {
    visibility: hidden;
    overflow: hidden;
    display: none !important;
}

/* Icon hide/show */

.hidden.force-block {
    display: block;
}

/* Stars */
:root {
    --star-color: #ccc;
    --star-background: #fab51c;
    --sspot-fill-color: #ffb520;  /* default fill color */
    --sspot-stroke-color: #e47101; /* default stroke color */
}

.stars {
    --percent: calc(var(--rating) / 5 * 100%);
    display: inline-block;
    font-family: Times;
}
.stars::before {
    content: "\2605\2605\2605\2605\2605";
    letter-spacing: -1px;
    background: linear-gradient(
        90deg,
        var(--star-background) var(--percent),
        var(--star-color) var(--percent)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.submit-review {
    transition: background-color 0.3s ease;
}

table .stars {
    position: relative;
    top: -1px;
}

/* Flip */
.flip-element {
    transform: scaleX(-1);
}

.text-xsmall {
    font-size: 0.7rem;
}

.text-xxs {
    font-size: 0.6rem;
}

.mini-btn {
    background-color: #fff;
}

.mini-btn i {
    top: -1px;
}

.border-t-brand-blue {
    border-top: 1px solid #267ffd;
}

.light-gray {
    background-color: #f8f8f8;
}

/* Heading arrow */

.heading-arrow:after {
    font-family: "Font Awesome 5 Pro";
    content: "\f061";
}

/* Toggle */

.toggle__dot {
    top: 0rem;
    left: -0.25rem;
    transition: all 0.3s ease-in-out;
}

input:checked ~ .toggle__dot {
    transform: translateX(100%);
}

input:checked ~ .toggle__line {
    background-color: #6cc788;
}

.feedback-tab:not(.active) {
    border-color: transparent;
}

/* Logo dot */

.dot {
    display: inline-block;
    font-size: 36px;
    line-height: 0;
}

/* App brands */

i.app-brand {
    line-height: 2.4rem;
}

.yellow {
    background-color: #ecc94b;
}

/* Default table styling */
table.data-table {
    width: 100%;
}

th {
    text-align: left;
}

table.data-table.pl-0 tr th:first-child,
table.data-table.pl-0 tbody tr td:first-child {
    padding-left: 0;
}

table.data-table.rowLinks td {
    padding: 10px 0;
    overflow: hidden;
}

table.data-table.rowLinks td.actionCell {
    padding-right: 8px;
    overflow: visible;
}

table.data-table.rowLinks .largeLink {
    display: block;
    margin-top: -10em;
    margin-bottom: -10em;
    padding-top: 10em;
    padding-bottom: 10em;
}

table.data-table.rowLinks a.largeLink {
    cursor: pointer;
}

table.data-table tr.divider td {
    border-color: #ddd;
}

table.data-table tr.unpublished {
    background-color: #f7fafc;
}

table.data-table tr.unpublished td {
    border-bottom-color: #edf2f7;
}

.status-col {
    width: 130px;
}

.rating-col {
    width: 100px;
}

.date-col {
    width: 110px;
}

.order-date-col {
    width: 130px;
}

.order_id-col {
    width: 100px;
}

.scheduled-date-col {
    width: 130px;
}

.profile-col {
    width: 32px;
}

.customer-col {
    width: 150px;
}

.customer-col .largeLink {
    width: 150px;
}

.queue-customer-col {
    width: 180px;
}

.queue-customer-col .largeLink {
    width: 180px;
}

.verify {
    bottom: -4px;
    right: -4px;
}

.form-select.per-page {
    padding-top: 0.25rem;
    padding-right: 2rem;
    padding-bottom: 0.25rem;
    padding-left: 0.55rem;
}

table.data-table tr.unpublished .reviewPreview:after {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.4), #f9fafb);
}

.reviewPreview:after {
    content: "";
    background: linear-gradient(to right, rgba(255, 255, 255, 0.4), #fff);
    position: absolute;
    width: 45px;
    bottom: 1px;
    right: 0;
    z-index: 2;
    height: 100%;
}

table.data-table tr:last-child td {
    border: none;
}

/* Reports table */
.data-table tbody tr:hover {
    background-color: #f9fafb;
}

.data-table tbody tr:hover .reviewPreview:after {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.4), #f9fafb);
}

.truncate-wrap {
    display: table;
    table-layout: fixed;
    width: 100%;
}

.truncate-cell {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 1px;
}

/* Select2 */

.select2-results__options {
    font-size: 12px;
}

body .select2-container--default .select2-results__option--selected {
    background-color: #f2f2f2;
}

div
    .select2-container--default.select2-container--focus
    .select2-selection--multiple,
div .select2-container--default .select2-selection--multiple {
    border-color: #d2d6dc;
}

div .select2-container--default .select2-selection--multiple {
    padding-bottom: 0;
}

div .select2-container .select2-selection--multiple {
    min-height: 28px;
    line-height: 18px;
    border-radius: 6px;
    padding-bottom: 5px;
}

div
    .select2-container--default
    .select2-selection--multiple
    .select2-selection__choice {
    font-size: 12px;
    margin-top: 5px;
    max-width: calc(100% - 5px);
}

div .select2-container .select2-search--inline .select2-search__field {
    margin-top: 0;
}

div .select2-container .select2-search--inline .select2-search__field {
    font-size: 12px;
    height: 23px;
    line-height: 28px;
    margin-left: 10px;
    font-family: inherit;
}

div .select2-container--default .select2-results__option--selected {
    background-color: transparent;
}

div
    .select2-container--default
    .select2-selection--multiple
    .select2-selection__choice {
    background-color: #f2f2f2;
    border-color: #ccc;
}

div
    .select2-container--default
    .select2-selection--multiple
    .select2-selection__choice__remove {
    border-color: #ccc;
}

/* Submit a review star rating */

#star-shape-gradient {
    --color-stop: #f2a200;
    --color-bot: #ffb520;
}

.sspot-rating-fieldset {
    display: inline-block;
    overflow: hidden;
    padding: 0;
    border: 0;
}

.sspot-rating {
    width: 100%;
    margin-left: -3px;
}

.sspot-rating span {
    position: relative;
    float: right;
}

.sspot-rating input[name="sspot-star"] {
    display: none;
    width: 0;
    opacity: 0;
    margin-left: -2px;
}

.sspot-rating span label svg {
    fill: #fff;
    color: transparent;
    transition: color 0.2s ease-in-out;
    width: 38px;
    height: 35px;
    max-width: inherit;
    stroke-width: 1;
    stroke: #ccc;
}

.sspot-rating span label {
    float: right;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

/* Manage star ratings display */

.sspot-rating span label:hover svg,
.sspot-rating span label:hover ~ label svg,
.sspot-rating span label:hover ~ label.half svg,
.sspot-rating span label.sspot-half:hover svg,
.sspot-rating span:hover ~ span label svg,
.sspot-rating span.active label svg,
.sspot-rating span.active ~ span label svg {
    fill: var(--sspot-fill-color);
    stroke: var(--sspot-stroke-color);
}

.sspot-rating span label.sspot-half {
    overflow: hidden;
    position: absolute;
    width: 21px;
    margin: 0;
}

.sspot-rating span label.sspot-half svg {
    fill: #fff;
}

/* FadeOut animation */

#review-change {
    animation: ssfadeOut 0.3s 1;
    -webkit-animation: ssfadeOut 0.3s 1;
    animation-fill-mode: forwards;

    animation-delay: 3s;
    -webkit-animation-delay: 3s; /* Safari and Chrome */
    -webkit-animation-fill-mode: forwards;
}

/* Social images */

.social-image-angle:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: -20px;
    z-index: 0;
    width: 40px;
    height: 100%;
    background-color: #fff;
    transform: skew(-6deg);
}

/* Dashboard */
.auto-rows-minmax {
    grid-auto-rows: minmax(min-content, max-content);
}

.flex-wrapper {
    display: flex;
    flex-flow: row nowrap;
}

.single-chart {
    width: 33%;
    justify-content: space-around;
}

.circular-chart {
    display: block;
    margin: 10px auto;
    max-width: 70%;
    max-height: 250px;
}

.circle-bg {
    fill: none;
    stroke: #f2f7f6;
    stroke-width: 3.8;
}

.circle {
    fill: none;
    stroke-width: 1.5;
    animation: progress 1s ease-out forwards;
}

.fill-brand-blue {
    fill: #267ffd;
}

/* Coming soon */

.coming-soon_active svg.arrow {
    rotate: 180deg;
}

@keyframes progress {
    0% {
        stroke-dasharray: 0 100;
    }
}

.circular-chart.sent-rate .circle {
    stroke: #31b494;
}

.circular-chart.open-rate .circle {
    stroke: #f2cc49;
}

.circular-chart.review-rate .circle {
    stroke: #267ffd;
}

.percentage {
    font-size: 0.4em;
    letter-spacing: -0.02em;
    text-anchor: middle;
}

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

@-webkit-keyframes ssfadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Custom colors */

.facebook-color {
    fill: #3b5998;
}

.twitter-color {
    fill: #00acee;
}

.instagram-color {
    fill: #e95950;
}

/* Tippy tooltips */
.tippy-tooltip {
    font-size: 0.8rem;
}
.tippy-tooltip[data-placement^="top"] > .tippy-backdrop {
    transform-origin: 0 25%;
    border-radius: 40% 40% 0 0;
}
.tippy-tooltip[data-placement^="top"] > .tippy-backdrop[data-state="visible"] {
    transform: scale(1) translate(-50%, -55%);
}
.tippy-tooltip[data-placement^="top"] > .tippy-backdrop[data-state="hidden"] {
    transform: scale(0.2) translate(-50%, -45%);
}
.tippy-tooltip[data-placement^="bottom"] > .tippy-backdrop {
    transform-origin: 0 -50%;
    border-radius: 0 0 30% 30%;
}
.tippy-tooltip[data-placement^="bottom"]
    > .tippy-backdrop[data-state="visible"] {
    transform: scale(1) translate(-50%, -45%);
}
.tippy-tooltip[data-placement^="bottom"]
    > .tippy-backdrop[data-state="hidden"] {
    transform: scale(0.2) translate(-50%);
}
.tippy-tooltip[data-placement^="left"] > .tippy-backdrop {
    transform-origin: 50% 0;
    border-radius: 50% 0 0 50%;
}
.tippy-tooltip[data-placement^="left"] > .tippy-backdrop[data-state="visible"] {
    transform: scale(1) translate(-50%, -50%);
}
.tippy-tooltip[data-placement^="left"] > .tippy-backdrop[data-state="hidden"] {
    transform: scale(0.2) translate(-75%, -50%);
}
.tippy-tooltip[data-placement^="right"] > .tippy-backdrop {
    transform-origin: -50% 0;
    border-radius: 0 50% 50% 0;
}
.tippy-tooltip[data-placement^="right"]
    > .tippy-backdrop[data-state="visible"] {
    transform: scale(1) translate(-50%, -50%);
}
.tippy-tooltip[data-placement^="right"] > .tippy-backdrop[data-state="hidden"] {
    transform: scale(0.2) translate(-25%, -50%);
}
.tippy-tooltip[data-animatefill] {
    background-color: transparent !important;
}
.tippy-backdrop {
    position: absolute;
    background-color: #333;
    border-radius: 50%;
    width: calc(110% + 32px);
    left: 50%;
    top: 50%;
    z-index: -1;
    transition: all cubic-bezier(0.46, 0.1, 0.52, 0.98);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.tippy-backdrop[data-state="hidden"] {
    opacity: 0;
}
.tippy-backdrop:after {
    content: "";
    float: left;
    padding-top: 100%;
}
.tippy-backdrop + .tippy-content {
    transition-property: opacity;
    will-change: opacity;
}
.tippy-backdrop + .tippy-content[data-state="hidden"] {
    opacity: 0;
}

/* Warning bar */
.sspot-warning-msg {
    height: 45px;
}

.h-screen-sspot-warning-wrapper {
    height: calc(100vh - 45px);
}

// Additions
.error {
    color: #ed2c3a !important;
}
.alert-x {
    margin-top: 10px !important;
}
.text-black-x {
    color: #1c1c1c;
}
.text-blue-x {
    color: #4d52e8;
}

.label {
    padding: 3px 10px;
    line-height: 13px;
    color: #ffffff;
    font-weight: 400;
    border-radius: 4px;
    font-size: 75%;
}

.label-rounded {
    border-radius: 60px;
}

.label-custom {
    background-color: #00897b;
}

.label-success {
    background-color: #26dad2;
}

.label-info {
    background-color: #1976d2;
}

.label-warning {
    background-color: #ffb22b;
}

.label-danger {
    background-color: #ef5350;
}

.label-megna {
    background-color: #00897b;
}

.label-primary {
    background-color: #5c4ac7;
}

.label-purple {
    background-color: #7460ee;
}

.label-red {
    background-color: #fb3a3a;
}

.label-inverse {
    background-color: #2f3d4a;
}

.label-default {
    background-color: #f2f4f8;
}

.label-white {
    background-color: #ffffff;
}

.label-light-success {
    background-color: #e8fdeb;
    color: #26dad2;
}

.label-light-info {
    background-color: #cfecfe;
    color: #1976d2;
}

.label-light-warning {
    background-color: #fff8ec;
    color: #ffb22b;
}

.label-light-danger {
    background-color: #f9e7eb;
    color: #ef5350;
}

.label-light-megna {
    background-color: #e0f2f4;
    color: #00897b;
}

.label-light-primary {
    background-color: #f1effd;
    color: #5c4ac7;
}

.label-light-inverse {
    background-color: #f6f6f6;
    color: #2f3d4a;
}

/* Custom color labels */

.label-deep-red {
    background-color: #ff2c34;
    text-shadow: 1px 1px 1px #1c1c1c;
}

.label-blue {
    background-color: #26a5dc;
    text-shadow: 1px 1px 1px #1c1c1c;
}

.label-green {
    background-color: #62cb31;
    text-shadow: 0.5px 0.5px 0.5px #1c1c1c;
}

.label-black {
    background-color: #1c1c1c;
    text-shadow: 1px 1px 1px #000;
}

.brand-text-shadow {
    text-shadow: 0.5px 0.5px 0.5px #1c1c1c;
}

.bg-brand-green {
    background-color: #07bd21;
}

.bg-brand-beige {
    background-color: #ffaf00;
}

.text-facebook {
    color: #3b5998 !important;
}

.text-twitter {
    color: #00acee !important;
}

.text-instagram {
    // border-color: #cd486b #bc2a8d #fbad50 #fccc63;
    color: #cd486b !important;
}

/*
.dots-loading {
    margin: 20px;
    font-size: 36px;
    font-family: sans-serif;
}
/**/

.dots-loading:after {
    display: inline-block;
    animation: dotty steps(1, end) 2s infinite;
    content: "";
}

@keyframes dotty {
    0% {
        content: "";
    }
    25% {
        content: ".";
    }
    50% {
        content: "..";
    }
    75% {
        content: "...";
    }
    100% {
        content: "";
    }
}

/**
.ss-error {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    position: absolute;
    transform: translateY(10px);
    transition-property: opacity, transform;
    transition-duration: 0.35s;
    transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}
/** **/

.sspot-content-author-country {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #111;
    margin-bottom: 5px;
}

.sspot-content-author-country img {
    margin-right: 5px;
}

.customers-section {
    position: relative; /* Needed for absolute positioning inside */
}

.xloading-block {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none; /* Initially hidden */
}

.xload-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.75); /* White background with opacity */
}

.x-ajax-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
