/* Import the Roboto font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');


html, body {
    height: 100%;
    font-family: 'Poppins', sans-serif;
}

.dxbl-row {
  background-color: #f9fafc;
}

.loading-caption {
    font-family: 'Poppins', sans-serif;
}

.logon-template-body {
    /*background-image: url(../images/report_1.png);*/
}

app {
    display: block;
    height: 100%;
}

.loading-image {
    display: none;
}

app {
    display: block;
    height: 100%;
}

.header-logo {
    /*flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask: url('../images/logo.png');
    mask: url('../images/logo.png');
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;*/
    background-image: url(../images/logo.png);
    mask-repeat: no-repeat;
    width: 100%;
    height: 60%;
    BACKGROUND-SIZE: contain;
    background-repeat: no-repeat;
}

#blazor-error-ui {
    background: inherit;
    bottom: 0;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100001;
}


.stars {
    font-size: 1.5rem;
    line-height: 1px;
}

.star-icon {
    font-size: 1.75rem;
}

.progress-value {
    float: right;
}


/*START SIDEBAR*/
/* Main sidebar container */
.xaf-sidebar {
    width: 250px !important;
    background-color: #fff !important;
    border-right: 1px solid #e0e0e0 !important;
    padding: 0 !important;
    /*font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif !important;*/
}

/* Hide scrollbars */
/*.dxbl-scroll-viewer-vert-scroll-bar,
.dxbl-scroll-viewer-hor-scroll-bar {
    display: none !important;
}*/

/* Hide the filter search box */
.dxbl-accordion-filter {
    display: none !important;
}

/* Style the accordion container */
.dxbl-accordion {
    border: none !important;
    box-shadow: none !important;
}

/* Style all nav items */
.dxbl-accordion-item-content {
    /*padding: 1px !important;*/
    color: #505050 !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    transition: background-color 0.2s !important;
    /*background-color: #fff !important;*/
}

    .dxbl-accordion-item-content:hover {
        /*background-color: #f9fafc !important;*/
        color: #333 !important;
    }

/* Style active nav items */
.dxbl-active {
    /*background-color: #5f368d !important;*/
    color: #333 !important;
    font-weight: 500 !important;
    
}

.clickable-xaf-nav-item > a .xaf-nav-link, .clickable-xaf-nav-item > div > a .xaf-nav-link {
text-decoration:none !important;
}

.dxbl-accordion .dxbl-accordion-group .dxbl-accordion-item:not(.dxbl-accordion-group):not(.dxbl-disabled):not(:disabled).dxbl-active > .dxbl-accordion-item-content {
    /*background-color: #d2d2d2;
    font-weight: 700 !important;*/
    /*color: #5f368d !important;*/
}
/* Style icons */
.xaf-nav-menu-item-icon {
    width: 20px !important;
    height: 20px !important;
    margin-right: 16px !important;
    opacity: 0.7 !important;
}

/* Style nav text */
.dxbl-accordion-item-text-container {
    font-size: 14px !important;
}

/* Style group headers */
.dxbl-accordion-group-header {
    padding: 12px 24px !important;
    color: #505050 !important;
    border: none !important;
    background-color: #fff !important;
    display: flex !important;
    align-items: center !important;
}

    .dxbl-accordion-group-header:hover {
        background-color: #f9fafc !important;
    }

/* Style expand/collapse buttons */
.dxbl-group-expand-btn {
    border: none !important;
    background: transparent !important;
    color: #505050 !important;
    margin-left: auto !important;
    padding: 0 !important;
}

    .dxbl-group-expand-btn svg.dxbl-image {
        width: 16px !important;
        height: 16px !important;
    }

/* Style nested items */
.dxbl-accordion-item-indent {
    width: 0 !important;
}

.dxbl-accordion-group-body .dxbl-accordion-item-content {
    padding-left: 42px !important;
}

/* Hide invisible expand buttons */
.dxbl-invisible {
    display: none !important;
}

/* Style expanded chevron icon */
.expanded .dxbl-group-expand-btn svg {
    transform: rotate(90deg) !important;
}

/* Style dropdown content area */
.dxbl-accordion-group-body {
    /*background-color: #fff !important;*/
    border: none !important;
    padding: 0 !important;
}

/* Add notification badge to specific items (add class in HTML if needed) */
/*.notification-item::after {
    content: "1";
    position: absolute;
    right: 24px;
    background-color: #f44336;
    color: white;
    font-size: 11px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}*/

/* Remove version info at bottom or style it */
/*.about-info {
    display: none !important;
}*/

/* Remove all borders from containers and items */
.dxbl-accordion-items-container,
.dxbl-group-body,
.dxbl-accordion-group {
    border: none !important;
}

 Hide any excess padding/margins 
.dxbl-accordion-item {
    margin: 0 !important;
}

/* Make sure spacing is consistent */
.dxbl-accordion-group + .dxbl-accordion-group {
    margin-top: 0 !important;
}

/* Adjust nested levels display */
[style*="--dxbl-accordion-item-indent:1"] {
    --dxbl-accordion-item-indent: 0 !important;
}
/*END SIDEBAR*/


/**/
.box {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    position: relative;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    border-radius: 0.5rem;
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity));
    font-size: 0.813rem;
    color: rgb(var(--default-text-color));
    --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
    /*box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);*/
}

.box_trans {
    position: relative;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    border-radius: 0.5rem;
    --tw-bg-opacity: 1;
    font-size: 0.813rem;
    color: rgb(var(--default-text-color));
    --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
}

.box_borderless {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    position: relative;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    border-radius: 0.5rem;
    --tw-bg-opacity: 1;
    font-size: 0.813rem;
    /*background-color: rgb(255 255 255 / var(--tw-bg-opacity));*/
    color: rgb(var(--default-text-color));
    --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
    /*box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);*/
}

.font-semibold {
    font-weight: 700;
}

.text-\[1\.5rem\] {
    font-size: 1.5rem;
}

.\!mb-2 {
    margin-bottom: 0.5rem !important;
}
.text-\[\#8c9097\] {
   /* --tw-text-opacity: 1;
    color: rgb(140 144 151 / var(--tw-text-opacity));*/
    color: black;
    font-weight: 400;
}

.text-\[0\.813rem\] {
    font-size: 0.813rem;
}

.mb-0 {
    margin-bottom: 0px;
}
.justify-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

.flex-wrap {
    flex-wrap: wrap;
}
.flex-grow {
    flex-grow: 1;
}

.ms-4 {
    margin-inline-start: 1rem;
}
.text-white {
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity));
}

.text-\[1rem\] {
    font-size: 1rem;
}

.ti {
    font-family: "tabler-icons" !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.box-body {
    flex: 1 1 auto;
    padding: 1rem;
    color: rgb(var(--default-text-color));
}
.justify-between {
    justify-content: space-between;
}

.flex {
    display: flex;
}

.\!leading-\[2\.5rem\] {
    line-height: 2.5rem !important;
}

.\!leading-\[1\.5rem\] {
    line-height: 1.5rem !important;
}

.\!text-\[0\.8rem\] {
    font-size: 0.8rem !important;
}

.bg-primary {
    background-color: rgb(var(--primary));
}

.\!rounded-full {
    border-radius: 9999px !important;
}

.justify-center {
    justify-content: center;
}

.items-center {
    align-items: center;
}

.\!w-\[2\.5rem\] {
    width: 2.5rem !important;
}

.\!h-\[2\.5rem\] {
    height: 2.5rem !important;
}

.\!w-\[1\.5rem\] {
    width: 1.5rem !important;
}

.\!h-\[1\.5rem\] {
    height: 1.5rem !important;
}

.inline-flex {
    display: inline-flex;
}

/**/

.apexcharts-title-text {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif !important;
    font-size: 1.75rem;
    font-weight: 600;
}

/**/
/* Add this to your site.css or create a new SentimentDashboard.css file */

/* Main layout containers */
.dashboard-container {
    background-color: #f9fafc;
    display: flex;
    flex-direction: column;
    width: 100%;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;
    color: #333;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.main-toolbar {
    background-color: #f9fafc !important;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    max-width: 1200px;
}

.logo-container .logo {
    height: 30px;
}

.nav-container {
    display: flex;
    flex-grow: 1;
    justify-content: center;
    max-width: 1200px;
}

.user-menu-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.alerts-button {
    background-color: #6366f1;
    color: white;
    border-radius: 4px;
    padding: 0.5rem 1rem;
}

.user-avatar img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.sidebar-container {
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.main-content {
    padding: 1rem 2rem;
    background-color:#f9fafc !important;
}

/* Tabs and filters */
.tab-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.dashboard-tabs {
    display: flex;
    gap: 1rem;
}

.filter-container {
    display: flex;
    gap: 1rem;
}

.date-picker, .store-picker {
    width: 270px;
}

.topics-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
    max-width: 1200px;
}

/* KPI Cards */
.kpi-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
    max-width: 1200px;
}

.kpi-card {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.card-header-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.feedback-icon {
    background-image: url('/images/feedback-icon.svg');
}

.happy-icon {
    background-image: url('/images/happy-icon.svg');
}

.unhappy-icon {
    background-image: url('/images/unhappy-icon.svg');
}

.sentiment-icon {
    background-image: url('/images/sentiment-icon.svg');
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #555;
    padding-bottom: 15px;
}

.card-value {
    font-size: 2rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

    .card-value.positive {
        color: #34D399;
    }

.trend-arrow {
    font-size: 1rem;
}

.card-subtitle {
    font-size: 0.8rem;
    color: #888;
}

/* Chart Card */
.chart-card {
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .section-header h2 {
        font-size: 1.25rem;
        font-weight: 600;
        margin: 0;
    }

.section-subtitle {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.25rem;
}

.overview-button {
    background-color: transparent;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.8rem;
}

.search-container {
    display: flex;
    justify-content: flex-end;
    /*margin-top: 1rem;*/
}

.search-box {
    width: 240px;
}

/* Topics Card */
.topics-card {
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.topics-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 1rem 0;
    max-width: 1200px;
}

.topics-column h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.topic-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.topic-name {
    width: 30%;
    font-weight: 500;
}

.topic-progress-container {
    flex-grow: 1;
    margin: 0 1rem;
}

.topic-progress.positive .dxbl-progress-indicator {
    background-color: #34D399;
}

.topic-progress.negative .dxbl-progress-indicator {
    background-color: #F87171;
}

.topic-percentage {
    font-weight: 500;
    width: 40px;
    text-align: right;
}

/* Ranking Card */
.ranking-card {
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.ranking-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 1rem 0;
    max-width: 1200px;
}

.overall-ranking h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.ranking-score {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.ranking-subtitle {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.star-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.star-icons {
    width: 80px;
    color: #FFC107;
    font-size: 0.85rem;
}

.star-bar-container {
    flex-grow: 1;
    margin: 0 0.5rem;
}

.star-bar .dxbl-progress-indicator {
    background-color: #333;
}

.star-percentage {
    width: 40px;
    text-align: right;
    font-size: 0.85rem;
}

.category-rankings {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.category-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.category-card {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.category-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.service-icon {
    background-image: url('/images/service-icon.svg');
}

.product-icon {
    background-image: url('/images/product-icon.svg');
}

.operations-icon {
    background-image: url('/images/operations-icon.svg');
}

.experience-icon {
    background-image: url('/images/experience-icon.svg');
}

.category-score {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
}

/* Words Card */
.words-card {
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.show-more-button {
    background-color: transparent;
    color: #6366f1;
    border: none;
    font-size: 0.9rem;
}

/* DevExpress component customizations */
::deep .dxbl-card-header {
    background-color: white;
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

::deep .dxbl-card-content {
    padding: 1rem;
}

::deep .dxbl-btn-link {
    text-decoration: none;
}

::deep .dxbl-tabs .tab-btn {
    border: none;
    padding: 0.75rem 1.25rem;
    color: #666;
}

    ::deep .dxbl-tabs .tab-btn.active {
        border-bottom: 2px solid #6366f1;
        color: #6366f1;
    }

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .kpi-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .topics-container, .ranking-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 1200px;
    }
}

@media (max-width: 768px) {
    .tab-container {
        flex-direction: column;
        gap: 1rem;
    }

    .kpi-container {
        grid-template-columns: 1fr;
    }

    .category-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .feedback-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .show-all-button {
        margin-left: 0;
        margin-top: 1rem;
    }

    .feedback-grid {
        grid-template-columns: 1fr;
    }
}

/*REPORT CSS*/
@media (max-width: 1024px) {
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .cards-container {
        grid-template-columns: 1fr;
    }

    .metadata-item {
        width: 50%;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .dashboard-container {
        padding: 10px;
    }

    .export-button {
        width: 100%;
        text-align: center;
    }

    .metadata {
        grid-template-columns: 1fr;
    }

    .cards-container {
        grid-template-columns: 1fr;
    }
}


@media print {


    .report-content {
        display: flex;
        flex-direction: column;
        gap: 20px;
        /*  width: 100%;
        margin: 0 auto; */
    }

    .page-break {
        page-break-before: always; /* Ensure the image is on a separate page */
    }

    .first-page-image {
        max-width: 100%;
        height: auto;
    }

    table {
        width: 100%;
        border-collapse: collapse;
    }

    table, th, td {
        border: 1px solid black;
        padding: 5px;
    }

    /* Hide unnecessary elements */
    .no-print {
        display: none !important;
    }

    .export-button-no-print {
        display: none !important;
    }
    /* Example of fixed dimensions (adjust as needed) */
    .section {
        margin-bottom: 10px;
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .metrics-title {
        font-size: 24px; /* Reduce font size for smaller screens */
    }

    .metric-card {
        padding: 16px; /* Reduce padding for small screens */
    }
    .metrics-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
        gap: 16px;
    }
    .repeated-issues-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
        gap: 16px;
    }
    .content-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
        gap: 16px;
    }
    .topic-correlations-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .metrics-title {
        font-size: 20px; /* Further reduce for very small screens */
    }

    .metrics-grid {
        grid-template-columns: 1fr; /* Stack items vertically on small screens */
    }
    .metrics-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
        gap: 16px;
    }
    .repeated-issues-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
        gap: 16px;
    }
    .content-grid {
        display: grid;
        grid-template-columns: 1fr; /* Responsive grid */
        gap: 16px;
    }
    .topic-correlations-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
        gap: 16px;
    }
}

/*END REPORTST CSS*/

/*FEEDBACK LIST CSS*/
.priority-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.high {
    background-color: #ff4081;
}

.medium {
    background-color: #ff9800;
}

.low {
    background-color: #4caf50;
}

.indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
}

.indicator-text-high {
    color: #800080; /* Purple */
}

.indicator-text-low {
    color: #20B2AA; /* Light Sea Green */
}

.indicator-text-medium {
    color: #FF7F50; /* Coral */
}

.indicator-high {
    background-color: #800080; /* Purple */
}

.indicator-low {
    background-color: #20B2AA; /* Light Sea Green */
}

.indicator-medium {
    background-color: #FF7F50; /* Coral */
}

.category-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.praise {
    color: #4caf50;
}

.complaint {
    color: #f44336;
}

.suggestion {
    color: #3f51b5;
}

.replied-icon {
    font-size: 18px;
    font-weight: bold;
}

.feedback-icon {
    margin-top: 2px;
}

.positive-label {
    background-color: #E0F8F7; /* Light Cyan */
    color: #008080; /* Teal */
}

.negative-label {
    background-color: #F8E0E0; /* Light Pink */
    color: #8B0000; /* Dark Red */
}

.neutral-label {
    background-color: #E6E6FA; /* Lavender */
    color: #483D8B; /* Dark Slate Blue */
}

/* Responsive breakpoints */
@media (max-width: 1200px) {
    .filter-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 992px) {
    .filter-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

@media (max-width: 768px) {
    .grid-container {
        padding: 5px;
    }

    .filter-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rz-data-grid {
        font-size: 0.9rem;
    }

    .category {
        padding: 2px 8px;
        font-size: 12px;
    }

    .stars {
        font-size: 0.9rem;
    }

    .filter-tag {
        font-size: 11px;
        padding: 3px 8px;
    }

    .actions-container {
        flex-direction: column;
    }

    .search-container {
        width: 100%;
    }

    .export-button {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .filter-grid {
        grid-template-columns: 1fr;
    }

    .feedback-bubble {
        font-size: 12px;
    }

    .customer-info {
        font-size: 12px;
    }

    .active-filters-content {
        padding: 8px;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .filter-actions-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .search-container {
        order: -1;
    }

    .filter-button, .export-button {
        justify-content: center;
    }

    .filter-modal {
        width: 100%;
        height: 100%;
        max-height: none;
        border-radius: 0;
    }

    .modal-body {
        max-height: calc(100vh - 140px);
    }
}

/*END FEEDBACK LIST*/


/*START LOGON*/
/* Responsive Adjustments */
@media (max-width: 576px) {
    .logon-main {
        margin: 10px !important;
        width: calc(100% - 20px);
    }
}
/*END LOGON*/

/*LOGIN BACKGROUND*/
:root {
    --primary-color-1: #6366f1;
    --primary-color-2: #3b82f6;
    --primary-color-3: #10b981;
    --background-opacity: 0.6;
    --dxbl-text-font-family: 'Poppins', sans-serif !important;
    --dxbl-fl-font-family: 'Poppins', sans-serif !important;
/*    --primary: #0f6cbd;
    --secondary: #ebebeb;
    --success: #128a13;
    --info: #6259e6;
    --warning: #bc4b09;
    --danger: #d31222;
    --light: #f1f1f1;
    --dark: #4e4e4e;
    --body-bg: #ffffff;
    --body-color: #161616;*/
}

.login-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color-1), var(--primary-color-2), var(--primary-color-3));
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
    /*z-index: -1;*/
}

.login-background-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.background-shape {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    filter: blur(60px);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation: floatShape 12s ease-in-out infinite;
    animation-delay: -2s;
}

.shape-2 {
    width: 250px;
    height: 250px;
    top: 70%;
    right: 10%;
    animation: floatShape 15s ease-in-out infinite;
    animation-delay: -5s;
}

.shape-3 {
    width: 400px;
    height: 400px;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    animation: floatShape 10s ease-in-out infinite;
    animation-delay: -7s;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes floatShape {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(30px) rotate(10deg);
    }
}

@media (max-width: 768px) {
    .background-shape {
        filter: blur(40px);
    }

    .shape-1 {
        width: 200px;
        height: 200px;
    }

    .shape-2 {
        width: 150px;
        height: 150px;
    }

    .shape-3 {
        width: 250px;
        height: 250px;
    }
}
/*END LOGIN BACKGROUND*/

/*REPORT*/

@media (min-width: 768px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* Two columns on desktop */
    }
    .repeated-issues-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* Two columns on desktop */
    }
}

/*END REPORT*/

/*ALERTS*/
/* Responsive Styles */
@media (max-width: 768px) {
    .alert-container {
        padding: 16px;
    }

    .category-card {
        min-width: 90px;
        height: 90px;
    }

    .subcategory-section {
        flex-direction: column;
    }

    .subcategory-group {
        width: 100%;
    }

    .email-field {
        flex-direction: column;
    }

    .btn-save {
        width: 100%;
        padding: 12px 0;
    }
}

@media (max-width: 480px) {
    .selection-actions {
        flex-wrap: wrap;
    }

    .btn-action {
        flex: 1;
        justify-content: center;
    }

    .category-card {
        min-width: 80px;
        height: 80px;
    }
}
/*END ALERTS*/

/*START MODAL CATEGORIES*/
@media (max-width: 768px) {
    .airbnb-container {
        padding: 24px 16px;
    }

    .airbnb-form-row {
        flex-direction: column;
        gap: 16px;
    }

    .airbnb-form-column {
        min-width: unset;
    }

    .airbnb-actions {
        flex-direction: column-reverse;
    }
}

@keyframes typing {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.4;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .assistant-container {
        padding: 10px;
    }

    .assistant-card {
        height: 95vh;
        border-radius: 16px;
    }

    .assistant-header {
        padding: 20px 24px;
        border-radius: 16px 16px 0 0;
    }

    .assistant-title {
        font-size: 24px;
    }

    .chat-messages {
        padding: 20px 24px;
    }

    .input-container {
        padding: 20px 24px;
    }

    .user-message-wrapper {
        margin-left: 40px;
    }

    .assistant-message-wrapper {
        margin-right: 40px;
    }

    .suggestion-chips {
        flex-direction: column;
        align-items: center;
    }

    .suggestion-chip {
        width: 100%;
        max-width: 280px;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .chat-widget-container {
        bottom: 15px;
        right: 15px;
    }

    .chat-interface {
        width: calc(100vw - 30px);
        height: calc(100vh - 100px);
        bottom: 75px;
        right: -15px;
    }

    .assistant-message-wrapper {
        margin-right: 20px;
    }

    .user-message-wrapper {
        margin-left: 20px;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typing {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.4;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}
/*END MODAL CATEGORIES*/


/*START REVIEW CHAT COMPONENT*/

.place-image-container, .business-image-container {
    flex-shrink: 0;
    width: auto !important;
    height: 40px;
    overflow: hidden;
    transition: all 0.3s ease;
    /* iPhone/iOS Safari fixes */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    /* Better flex handling on iOS */
    flex-basis: auto;
    min-width: 0;
    /* Ensure proper rendering */
    position: relative;
    display: inline-block;
    /* Safari-specific fixes */
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

    /* More robust image styling for Safari */
    .place-image-container img,
    .business-image-container img {
        height: 100%;
        width: auto;
        display: block;
        /* Safari-specific image fixes */
        max-width: none; /* Override any global max-width */
        object-fit: cover; /* Ensure proper image scaling */
        -webkit-user-drag: none; /* Prevent dragging */
        -webkit-touch-callout: none; /* Prevent callout */
        /* Force proper rendering */
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        /* Prevent image flickering */
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

.chat-input {
    bottom: 50px !important; 
}

/* Default for iPhone */
@media not all and (min-resolution: 0.001dpcm) {
    @supports (-webkit-appearance: none) {
        .chat-input {
            bottom: 50px !important;
        }
    }
}

/*Safari*/
@supports (-webkit-touch-callout: none) {
    .chat-input {
        bottom: 50px !important;
    }

    .place-image-container img,
    .business-image-container img {
        width: initial !important;
        min-width: 1px !important;
        max-width: none;
    }
}

/* Android-specific styling */
@media screen and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: 0.001dpcm) {
    .chat-input {
        bottom: 50px !important;
    }
}

/* More specific Android targeting */
@supports (-webkit-appearance: none) and (not (-webkit-touch-callout: none)) {
    .chat-input {
        bottom: 50px !important;
    }
}

/* Mobile-specific optimizations */
@media (max-width: 768px) {

    .chat-input {
        /* Use fixed positioning to keep it at the bottom of the viewport */
        position: fixed;
        bottom: 50px;
        left: 0;
        right: 0;
        width: 100%; /* Ensure it spans the full width */
        z-index: 1000; /* Ensure it's above other content */
        /* Add padding to account for the system bar */
        /* env(safe-area-inset-bottom) provides the actual height of the system bar */
        padding-bottom: 100px;
        /* A slight adjustment to min-height might be needed if your content
       inside chat-input is very short and gets cut off, but 'auto' is usually fine.
       Removing the explicit min-height calc from here to avoid potential conflicts
       unless strictly necessary. */
    }

    /* When virtual keyboard is open */
    .keyboard-open .chat-input {
        position: fixed;
        bottom: 0;
        padding-bottom: calc(1rem + 10px);
    }

    /* Handle virtual keyboard on mobile */
    .text-input-section input:focus {
        /* Ensure input stays visible when keyboard opens */
        transform: translateY(0);
        position: relative;
        z-index: 101;
    }

    .chat-container {
        height: 100vh;
        max-height: 100vh;
    }

    .chat-header {
        padding: 0.5rem; /* Even smaller on mobile */
    }

    .header-images {
        gap: 0rem;
        flex-direction:column;
    }

    .place-image-container,
    .business-image-container {
        height: 30px; /* Even smaller on mobile */
    }

    .chat-header h3 {
        font-size: 1rem;
    }

    .store-name {
        font-size: 0.8rem;
    }

    .chat-messages {
        padding: 0.75rem;
    }

    .message-content {
        max-width: 85%;
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }

    .input-group {
        flex-direction: column;
        gap: 0.5rem;
    }

    .voice-input-container {
        gap: 0.5rem;
    }

    .voice-btn {
        width: 50px;
        height: 50px;
    }

    .mic-icon {
        width: 20px;
        height: 20px;
    }

    .text-input-section {
        width: 100%;
        align-items: stretch;
    }

    .form-control {
        min-height: 40px;
        font-size: 0.85rem;
    }

    .btn {
        height: 40px;
        min-width: 60px;
        font-size: 0.85rem;
    }

    .action-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .edit-mode-overlay {
        padding: 0.5rem;
    }

    .edit-header,
    .edit-content,
    .edit-actions {
        padding: 0.75rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .chat-input {
        /* Additional bottom spacing for smaller Android devices */
        padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 25px));
        min-height: calc(auto + 25px);
        bottom: 50px;
    }

    .text-input-section input {
        font-size: 16px;
        padding: 16px 20px;
        min-height: 52px;
    }

    .text-input-section .btn {
        min-height: 52px;
        padding: 16px 24px;
        font-size: 16px;
        font-weight: 600;
    }

    .place-image-container,
    .business-image-container {
        height: 30px; /* Even smaller on mobile */
    }
}

/* Replace your current media query with this */
@media (max-width: 430px) {
    /* Your mobile styles here */
    .place-image-container,
    .business-image-container {
        height: 30px; /* Even smaller on mobile */
    }
}

/* Or use this more specific approach */
@media only screen and (max-width: 430px) and (orientation: portrait) {
    /* Your styles here */
    .place-image-container,
    .business-image-container {
        height: 30px; /* Even smaller on mobile */
    }
}

/* Landscape mode adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .chat-input {
        /* Reduced bottom padding in landscape mode */
        padding-bottom: calc(1rem + env(safe-area-inset-bottom, 10px));
        bottom: 50px;
    }
}

/* Handle keyboard open state */
.keyboard-open .chat-input {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
}

/* Completion and edit mode adjustments */
.completion-actions,
.edit-mode-container {
    width: 100%;
}

.action-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-10px);
    }
}

@keyframes soundWave {
    0%, 100% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(0.3);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes messageSent {
    0% {
        transform: scale(0.95);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

/* Improved accessibility */
.message-content:focus {
    outline: 2px solid #e61e4d;
    outline-offset: 2px;
}

.btn:focus {
    outline: 2px solid #e61e4d;
    outline-offset: 2px;
}

.chat-messages.loading {
    opacity: 0.7;
    pointer-events: none;
}

.message.sent {
    animation: messageSent 0.5s ease-out;
}

/*END REVIEW CHAT COMPONENT*/