@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

body,
.chatbox,
.message {
    font-family: 'Amazon Ember', sans-serif;
}

.message {
    font-size: 12px;
    font-weight: 700;
}

body {
    font-family: 'Amazon Ember', sans-serif;
    /* background-image: url(../images/New-HomePage.jpg);
    background-color: #f0f0f0; */
    background-size: cover;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.chatbot-rotation-image img {
    position: fixed;
    width: 115px;
    height: auto;
    bottom: 10px;
    right: 29px;
    animation: rotate 10s linear infinite;
    filter: contrast(1.5);
    z-index: 998;
}

.chat-toggle-btn {
    position: fixed;
    bottom: 43px;
    right: 61px;
    background: linear-gradient(62deg, rgb(0, 65, 122) 50%, black 50%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    /*z-index: 999999; *//* ensures it's always on top */ 
    z-index: 999; 
}

.chat-toggle-btn img {
    width: 30px;
    height: 30px;
     
}

.chatbox {
    position: fixed;
    bottom: 60px;
    right: 5px;
    width: 400px;
    /*height: calc(95vh - 33px);*/
    height: calc(90vh - 33px);
    max-height: 80rem;
    border-radius: 8px;
    background-color: white;
    /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
    display: none;
    z-index: 9999;
    transition: top 0.3s ease, bottom 0.3s ease;
}

.chatbox-header {
    background-color: rgb(0, 65, 122);
    color: white;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.chat-title-container {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
}

.minimize-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.chatbox-messages {
    max-height: 800px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    height: calc(80vh - 50px);
}

.chatbox-input {
    display: flex;
    align-items: flex-end;
    padding: 8px 5px 5px 10px;
    min-height: 70px;
    background-color: #fff;
    position: relative;
    box-sizing: border-box;
}

.chatbox-input textarea {
    flex: 1;
    padding: 15px 50px 15px 15px;
    border-radius: 10px;
    border: 1px solid #ccc;
    height: 55px;
    box-sizing: border-box;
    outline: none;
    font-size: 12px;
    resize: none;
    overflow-y: scroll;
    overflow-x: hidden;
    word-wrap: break-word;
    white-space: pre-wrap;
    line-height: 1.4;
    font-family: inherit;
    /* Hide scrollbar for Webkit browsers */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.chatbox-input textarea::-webkit-scrollbar {
    display: none;
}

.chatbox-input button {
    position: absolute;
    right: 20px;
    top: 47%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #19303e;
    font-size: 20px;
    cursor: pointer;
}

.chatbox-input button:hover {
    color: #399bb6;
}

.message {
    margin: 0px 0px 0px 15px;
    border-radius: 10px;
    word-wrap: break-word;
}

.message-dropdown {
    max-width: 70%;
    font-size: 12px;
    font-weight: 400 !important;
    line-height: 22px;
    font-style: normal;
    word-wrap: break-word;
    padding: 12px 12px 0px 12px;
    color: #16191f;
    border-radius: 2px;
    background-color: #f2f3f3;
    margin-left: 20px;
    text-align: justify;
}

.message-welcome {
    margin: 0px 0px 0px 10px;
    border-radius: 20px;
    max-width: 81%;
    word-wrap: break-word;
    color: #000;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.message.sender {
    background-color: rgb(0, 65, 122);
    color: white;
    align-self: flex-end;
    text-align: justify;
    margin: 5px 10px;
    padding: 10px;
    font-weight: 400;
    word-break: break-word;
    white-space: pre-wrap;
}

.message-dropdown.sender1 {
    background-color: rgb(0, 65, 122);
    color: white;
    align-self: flex-end;
    text-align: justify;
    margin: 5px 10px;
    padding: 10px;
    font-weight: 400;
    font-size: 12px;
    border-radius: 10px;
}

.message.receiver {
    color: black;
    align-self: flex-start;
    font-size: 12px;
    font-weight: 400;
    line-height: 22px;
    font-style: normal;
    word-wrap: break-word;
    display: none;
}

.message-dropdown.receiver1 {
    color: black;
    align-self: flex-start;
    font-size: 12px;
    font-weight: 400;
    line-height: 22px;
    font-style: normal;
    word-wrap: break-word;
    display: none;
}

.message-daq.receiver1 ul {
    margin-bottom: 0rem;
}

.welcome-container {
    display: flex;
    flex-direction: column;
    margin: 15px 0px 0px 12px;
}

.message-container {
    display: flex;
    flex-direction: column;
    margin: 12px 0px 12px 12px;
}

#close-chat {
    opacity: 1;
    width: 0.75rem;
    height: 0.75rem;
    padding: 0;
    font-size: 1rem;
    line-height: 0.5rem;
    margin-right: 20px;
}

.small-chat-title {
    line-height: 1.4;
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 0;
    margin-left: 10px;
    transform: rotate(0deg);
    margin-top: -17px;
}

.chatbox-input textarea::placeholder {
    font-size: 11px;
    color: #999;
}



.acufore-trademark {
    margin-left: 10px;
    cursor: default;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    font-style: normal;
    display: flex;
    text-align: center;
    justify-content: flex-start;
    align-items: center;
    width: 300px;
    color: #ffffff;
}

.acufore-trademark button {
    border-bottom-left-radius: 10px;
}

.send-icon {
    width: 15px;
    transform: rotate(45deg);
}

#message-input::placeholder {
    font-style: italic;
}

#message-initial-input {
    margin: 0px 0px 0px 18px;
    font-size: 0.9rem;
    color: #0681fb;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.message-initial {
    font-size: 12px;
    margin-left: 12px;
}

img.link-icon {
    margin-right: 40px;
    width: 20px;
}

#message-initial-input img {
    margin-top: 4px;
    float: right;
}

.link-icon {
    width: 1rem;
}

.chat-bubble {
    background-color: #f6f6f9;
    padding: 6px 8px 0px 8px;
    -webkit-border-radius: 20px;
    -webkit-border-bottom-left-radius: 2px;
    -moz-border-radius: 20px;
    -moz-border-radius-bottomleft: 2px;
    border-radius: 20px;
    border-bottom-left-radius: 2px;
    display: inline-block;
    margin-left: 14px;
}

.typing {
    align-items: center;
    display: flex;
    height: 17px;
}

.typing .dot {
    animation: mercuryTypingAnimation 1.8s infinite ease-in-out;
    background-color: #424650;
    border-radius: 50%;
    height: 7px;
    margin-right: 4px;
    vertical-align: middle;
    width: 7px;
    display: inline-block;
}

.typing .dot:nth-child(1) {
    animation-delay: 200ms;
}

.typing .dot:nth-child(2) {
    animation-delay: 300ms;
}

.typing .dot:nth-child(3) {
    animation-delay: 400ms;
}

.typing .dot:last-child {
    margin-right: 0;
}

@keyframes mercuryTypingAnimation {
    0% {
        transform: translateY(0px);
        background-color: #424650;
    }

    28% {
        transform: translateY(-7px);
        background-color: #424650;
    }

    44% {
        transform: translateY(0px);
        background-color: #424650;
    }
}

.statement-container {
    background-color: white;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 2px 8px rgb(0 0 0 / 14%);
    margin-top: 6px;
    text-align: center;
    border: none;
    max-width: 350px;
    color: #0681fb;
}

.acufore-favicon {
    margin-bottom: 1px;
}

.link-icon-sm {
    width: 16px;
    margin-top: -2px;
    mix-blend-mode: darken;
}

.message-daq {
    max-width: 80%;
    font-size: 12px;
    font-weight: 400 !important;
    line-height: 22px;
    font-style: normal;
    word-wrap: break-word;
    padding: 12px 12px 12px 12px;
    color: #16191f;
    border-radius: 2px;
    background-color: #f2f3f3;
    margin-left: 20px;
    text-align: justify;
}

.message-daq p {
    margin-bottom: 0 !important;
}

.message-daq ul {
    padding-left: 1rem;
}

.message-daq1 {
    max-width: 100%;
    font-size: 12px;
    font-weight: 400;
    line-height: 22px;
    font-style: normal;
    word-wrap: break-word;
    padding: 12px;
    color: #16191f;
    border-radius: 2px;
    background-color: #f2f3f3;
    margin-left: 5px;
    text-align: justify;
}

.feedback-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    padding-bottom: 15px;
    margin-left: 85px;
}

.thumb-icon {
    cursor: pointer;
    padding-inline-start: 8px;
    padding-inline-end: 0px;
}

.thumb-icon:hover {
    color: rgb(0, 65, 122);
}

.message-daqr {
    margin: 10px 0px 0px 15px;
    max-width: 70%;
    font-size: 12px;
    font-weight: 400;
    line-height: 22px;
    font-style: normal;
    word-wrap: break-word;
    padding: 12px;
    color: #16191f;
    border-radius: 2px;
    background-color: #f2f3f3;
}

.statement-container1 {
    padding: 10px;
    margin-bottom: 6px;
    text-align: left;
    border: none;
    max-width: 350px;
    color: #00417A;
    margin-right: 6px;
    border-radius: 10px;
    background: #FFF;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25), 0px 4px 4px 0px rgba(0, 0, 0, 0.25) inset;
    color: #00417A;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.clickable-questions {
    font-size: 12px;
    margin-left: 12px;
    color: #0681fb;
}

.clear-popup {
    position: absolute;
    top: 0;
    left: 0px;
    width: 400px;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    background-color: #16191f60;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.clear-conversation-popup {
    position: relative;
    z-index: 2;
    background-color: white;
    max-width: 275px;
    margin: 225px 0px 0px 75px;
}

.modal-content {
    max-width: 320px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    font-family: Arial, sans-serif;
}

.modal-content h2 {
    margin-top: 0;
    font-size: 1.5rem;
    color: #333;
}

.modal-content p {
    font-size: 1rem;
    color: #555;
    margin: 15px 0;
}

.popup-actions {
    border-block-start: 1px solid #eaeded;
    padding-block: 12px;
    padding-inline: 20px;
    background-color: #ffffff;
    position: sticky;
    inset-block-end: 0;
    z-index: 800;
    border-start-start-radius: 0;
    border-start-end-radius: 0;
    border-end-start-radius: 0px;
    border-end-end-radius: 0px;
}

.popup-actions button {
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cancel-btn {
    background-color: #ccc;
    color: #333;
}

.cancel-btn:hover {
    background-color: #bbb;
}

.clear-btn {
    background-color: #f44336;
    color: #fff;
}

.clear-btn:hover {
    background-color: #e53935;
}

.clear-conversation {
    padding-block-start: 12px;
    padding-block-end: 12px;
    padding-inline: 20px;
    background-color: #fafafa;
    border-block-end: 1px solid #eaeded;
    border-start-start-radius: 0px;
    border-start-end-radius: 0px;
    border-end-start-radius: 0;
    border-end-end-radius: 0;
}

.display-clear-conversation-message {
    font-size: 12px;
    padding-block-start: 16px;
    padding-block-end: 20px;
    padding-inline: 20px;
}

.clear-buttons {
    display: flex;
    justify-content: right;
    padding-top: 12px;
    gap: 6px;
}

.alert {
    position: fixed;
    bottom: -7px;
    right: 72px;
    background-color: rgb(0, 65, 122);
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    z-index: 1000;
    transition: opacity 0.5s ease, transform 0.5s ease;
    box-shadow: 0px 4px 4px 1px rgba(0, 0, 0, 0.25), 0px 9px 5px 0px rgba(0, 0, 0, 0.25) inset;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.5s ease;
    max-width: 300px;
    /* text-align: justify; */
}

.alert::before {
    content: 'ðŸ’¬';
    font-size: 20px;
}

@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.menu-container {
    padding: 20px 20px 0px 20px;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 15px;
    margin-bottom: 13px;
    border-radius: 10px;
    border: 1px solid #000;
    background: rgba(231, 231, 231, 0.67);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25) inset;
}

.menu-item:hover {
    background: #e5e5e5;
}

.chevron img {
    width: 20px;
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

.dropdown-content {
    display: none;
    background: #00417A;
    padding: 10px;
    border-radius: 0px 0px 20px 20px;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    border-left: 1px solid #000;
    margin-top: -20px;
    margin-bottom: 8px;
    max-height: 160px;
}

.dropdown-content .dropdown-item {
    padding: 8px;
    background: #ffffff;
    margin: 4px 0;
    border-radius: 5px;
    text-align: center;
}


.chatbox-messages {
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.5) transparent;
}

.chatbox-messages::-webkit-scrollbar {
    width: 8px;
}

.chatbox-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chatbox-messages::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    border: 2px solid transparent;
}

.chatbox-messages::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

#whatsNewDropdown {
    display: none;
    grid-template-columns: 150px 170px;
    grid-template-rows: auto auto auto;
    row-gap: 3px;
    column-gap: 10px;
}

#whatsNewDropdown .item-large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

#whatsNewDropdown .dropdown-item {
    border-radius: 7px;
    background: #E8EBF3;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25), 0px 4px 4px 0px rgba(0, 0, 0, 0.25) inset;
    backdrop-filter: blur(2px);
    font-size: 12px;
    white-space: normal;
}

#productsDropdown {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    row-gap: 3px;
    column-gap: 10px;
}

#productsDropdown .dropdown-item {
    border-radius: 10px;
    background: #E8EBF3;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25), 0px 4px 4px 0px rgba(0, 0, 0, 0.25) inset;
    backdrop-filter: blur(2px);
    padding: 7px;
    font-size: 12px
}

#attachmentsDropdown {
    display: none;
    grid-template-columns: repeat(3, auto);
    grid-template-rows: repeat(2, auto);
    row-gap: 3px;
    column-gap: 10px;
}

#attachmentsDropdown .dropdown-item {
    border-radius: 10px;
    background: #E8EBF3;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25), 0px 4px 4px 0px rgba(0, 0, 0, 0.25) inset;
    backdrop-filter: blur(2px);
    padding: 7px;
    font-size: 12px
}

a {
    text-decoration: none;
    color: #00417A;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.timestamp-feedback-container {
    display: flex;
    align-items: center;
    gap: 12rem;
    max-width: 321px;
}

.feedback-icons {
    display: flex;
    gap: 8px;
}

.thumb-icon {
    cursor: pointer;
}

/* Product Card Styles */
.product-card {
    margin-bottom: 15px;
    border-radius: 8px;
    background-color: #f2f3f3;
    overflow: hidden;
}

.product-card h4 {
    background-color: #00417A;
    color: white;
    padding: 12px 15px;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.product-details {
    padding: 10px 15px;
}

.description-section {
    margin-bottom: 15px;
}

.description-section p {
    margin: 0;
    line-height: 1.5;
}

.specs-section,
.pricing-section,
.availability-section {
    margin-bottom: 15px;
}

.specs-section h5,
.pricing-section h5,
.availability-section h5 {
    font-size: 12px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #00417A;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.detail-row {
    margin-bottom: 6px;
    font-size: 12px;
    line-height: 1.4;
}

.detail-row .label {
    flex: 0 0 40%;
    font-weight: 500;
    color: #333;
}

.detail-row .value {
    flex: 0 0 60%;
}

.pricing-section .detail-row.highlight {
    font-weight: 600;
    color: #00417A;
}

.pricing-section .highlight {
    font-weight: 600;
    color: #00417A;
}

/* Ensure this CSS works with existing styles */
.message-daq .product-card {
    max-width: 100%;
}

.message-daq .product-details {
    padding: 10px;
}

.detail-row {
    margin-bottom: 6px;
}

/* Comparison Table Styles */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 12px;
}

.comparison-table th {
    background-color: #00417A;
    color: white;
    text-align: left;
    padding: 10px;
    font-weight: 600;
}

.comparison-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #e0e0e0;
}

.comparison-table tr:nth-child(even) {
    background-color: #f5f5f5;
}

.comparison-table tr:hover {
    background-color: #e8f0f8;
}

.comparison-table .highlight {
    font-weight: 600;
    color: #00417A;
}

.comparison-table .advantage {
    color: #007500;
    font-weight: 600;
}

.comparison-table .model-header {
    text-align: center;
    font-size: 16px;
}

.comparison-section {
    background-color: #f2f3f3;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 15px;
}

.comparison-section h4 {
    background-color: #00417A;
    color: white;
    padding: 12px 15px;
    margin: -10px -10px 10px -10px;
    border-radius: 8px 8px 0 0;
    font-size: 16px;
    font-weight: 600;
}

#message-input {
    min-height: 55px !important;
    height: 55px !important;
    max-height: 55px !important;
    overflow-y: hidden !important;
}

.chatbox-messages {
    position: relative;
    overflow-y: auto;
}



 .message-loader {
    position: absolute;
   bottom: 10px;  /* try 60–70px depending on your input height */
    left: 15px;
    z-index: 9999;
}



.chatbox-input {
    position: sticky;
    bottom: 0;
    background: #fff;
    z-index: 20;
}



/*=============================================*/
#close-chat {
  background: none !important; /* remove bootstrap bg */
  border: none !important;
  color: #fff !important;
  font-size: 20px !important;
  cursor: pointer;
  margin-right: 12px;
}


/*=============================================*/











/* Example for all mobile breakpoints (adjust values as needed) */
@media (max-width: 600px) {
    .chatbox {
        width: 95vw !important;
        max-width: 95vw !important;
        height: 85vh !important;
        max-height: 85vh !important;
        left: 2.5vw !important;
        right: auto !important;
        top: 65px !important;
        bottom: auto !important;
        border-radius: 12px !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15) !important;
        z-index: 1000;
    }

    .chatbox-header {
        height: 60px !important;
        font-size: 16px !important;
        border-radius: 0 !important;
    }

    .chatbox-messages {
        max-height: calc(100vh - 130px) !important;
        height: calc(90vh - 130px) !important;
        padding-bottom: 10px;
    }

    .chatbox-input {
        min-height: 60px !important;
        padding: 8px 10px 20px 10px !important;
    }

    .chatbox-input textarea {
        font-size: 14px !important;
        height: 45px !important;
        padding: 12px 40px 12px 12px !important;
    }

    .chat-toggle-btn {
        width: 45px !important;
        height: 45px !important;
        bottom: 20px !important;
        right: 20px !important;
    }

    .chat-toggle-btn img {
        width: 24px !important;
        height: 24px !important;
    }

    .alert {
        right: 10px !important;
        left: 10px !important;
        max-width: 95vw !important;
        font-size: 13px !important;
        padding: 10px 10px !important;
    }

    .clear-popup,
    .clear-conversation-popup,
    .modal-content {
        width: 95vw !important;
        max-width: 95vw !important;
        margin: 0 auto !important;
        left: 0 !important;
        right: 0 !important;
    }

    body {
        background-image: none !important;
        background-color: #f0f0f003 !important;
    }
    
    .message-loader {
        /*bottom: 45px;  */
    }

}

/* For devices up to 280px wide */
@media (max-width: 280px) {
    .chatbot-rotation-image img {
        position: fixed !important;
        width: 60px !important;
        right: 6px !important;
        bottom: 5px !important;
        left: auto !important;
        top: auto !important;
    }

    .chat-toggle-btn {
        width: 32px !important;
        height: 32px !important;
        right: 24px !important;
        bottom: 20px !important;
    }

    .chat-toggle-btn img {
        width: 18px !important;
        height: 18px !important;
    }
}

/* For devices 281px to 320px wide */
@media (min-width: 281px) and (max-width: 320px) {
    .chatbot-rotation-image img {
        position: fixed !important;
        width: 70px !important;
        right: 12px !important;
        bottom: 7px !important;
        left: auto !important;
        top: auto !important;
    }

    .chat-toggle-btn {
        width: 36px !important;
        height: 36px !important;
        right: 29px !important;
        bottom: 27px !important;
    }

    .chat-toggle-btn img {
        width: 20px !important;
        height: 20px !important;
    }
}

/* For devices 321px to 375px wide */
@media (min-width: 321px) and (max-width: 375px) {
    .chatbot-rotation-image img {
        position: fixed !important;
        width: 80px !important;
        right: 15px !important;
        bottom: 8px !important;
        left: auto !important;
        top: auto !important;
    }

    .chat-toggle-btn {
        width: 40px !important;
        height: 40px !important;
        right: 35px !important;
        bottom: 30px !important;
    }

    .chat-toggle-btn img {
        width: 22px !important;
        height: 22px !important;
    }
}

/* For devices 376px to 420px wide */
@media (min-width: 376px) and (max-width: 420px) {
    .chatbot-rotation-image img {
        position: fixed !important;
        width: 90px !important;
        right: 18px !important;
        bottom: 10px !important;
        left: auto !important;
        top: auto !important;
    }

    .chat-toggle-btn {
        width: 44px !important;
        height: 44px !important;
        right: 40px !important;
        bottom: 36px !important;
    }

    .chat-toggle-btn img {
        width: 24px !important;
        height: 24px !important;
    }
}

/* For devices 421px to 475px wide */
@media (min-width: 421px) and (max-width: 475px) {
    .chatbot-rotation-image img {
        position: fixed !important;
        width: 100px !important;
        right: 20px !important;
        bottom: 12px !important;
        left: auto !important;
        top: auto !important;
    }

    .chat-toggle-btn {
        width: 48px !important;
        height: 48px !important;
        right: 45px !important;
        bottom: 42px !important;
    }

    .chat-toggle-btn img {
        width: 26px !important;
        height: 26px !important;
    }
}

/* For devices 476px to 600px wide */
@media (min-width: 476px) and (max-width: 600px) {
    .chatbot-rotation-image img {
        position: fixed !important;
        width: 110px !important;
        right: 25px !important;
        bottom: 15px !important;
        left: auto !important;
        top: auto !important;
    }

    .chat-toggle-btn {
        width: 50px !important;
        height: 50px !important;
        right: 54px !important;
        bottom: 49px !important;
    }


    .chat-toggle-btn img {
        width: 28px !important;
        height: 28px !important;
    }
}

@media (max-width: 403px) {
    .chatbox-header {
        padding: 6px 8px !important;
        height: 62px !important;
    }

    .chat-title-container img {
        max-width: 60vw !important;
        height: auto !important;
        min-width: 0 !important;
    }

    .chat-title-container {
        min-width: 0 !important;
        max-width: 65vw !important;
        overflow: hidden !important;
    }

    .minimize-btn,
    #close-chat {
       /* font-size: 1.2rem !important;
        margin-right: 8px !important;
        margin-left: 4px !important;*/
    }

    .chatbox-header {
        flex-wrap: nowrap !important;
    }

    .acufore-trademark {
        font-size: 10px !important;
        padding: 2px 4px !important;
        max-width: 90vw !important;
        white-space: normal !important;
        word-break: break-word !important;
    }

    .acufore-trademark img {
        height: 12px !important;
        width: auto !important;
        margin-left: 2px !important;
    }
}

@media (max-width: 340px) {
    .acufore-trademark {
        font-size: 8.5px !important;
        padding: 1px 2px !important;
        max-width: 85vw !important;
    }

    .acufore-trademark img {
        height: 10px !important;
    }
}

@media (max-width: 320px) {
    .timestamp-feedback-container {
        gap: 8rem !important;
    }
}

@media (min-width: 321px) and (max-width: 375px) {
    .timestamp-feedback-container {
        gap: 9.75rem !important;
    }
}

@media (min-width: 376px) and (max-width: 420px) {
    .timestamp-feedback-container {
        gap: 11.5rem !important;
    }
}

@media (min-width: 421px) and (max-width: 475px) {
    .timestamp-feedback-container {
        gap: 12.25rem !important;
    }
}

@media (min-width: 476px) and (max-width: 600px) {
    .timestamp-feedback-container {
        gap: 17rem !important;
        max-width: 532px;
    }
}



/*new css from vignesh*/
/* 300px–360px */
@media (min-width: 300px) and (max-width: 360px) {
  .message-loader {
    margin-bottom: 5%;
  }
}

/* 361px–459px */
@media (min-width: 361px) and (max-width: 459px) {
  .message-loader {
    margin-bottom: 25%;
  }
}

/* 460px–599px */
@media (min-width: 460px) and (max-width: 599px) {
  .message-loader {
    margin-bottom: 25%;
  }
}

.chat-container{
z-index: 9999;
}
/*new css from vignesh ends*/










