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

.container-main {
    height: 100vh !important;
    position: relative !important;
}

.chatbot-main {
    position: fixed !important;
    right: 20px !important;
    bottom: 20px !important;
    z-index: 999999999 !important;
    /* font-family: 'Nunito', sans-serif !important; */
    box-sizing: initial !important;
    font-family: Inter, sans-serif;
}
.chatbot-main b {
    font-weight: 700 !important;
}
.sms-text-window-img {
    height: 32px !important;
    width: 32px !important;
    border: 1px solid #f2f2f2;
    border-radius: 50%;
}

.chatbot-main p, .chatbot-main h3, .chatbot-main ul {
    margin: 0 !important;
}

.chatbot-icon, .chatbot-close-icon {
    text-align: right !important;
    margin-top: 10px !important;
}

.chatbot-icon img {
    width: 60px !important;
    height: 60px !important;
    cursor: pointer !important;
}

.chatbot-close-icon img {
    height: 40px !important;
    width: 40px !important;
    cursor: pointer !important;
}

.chatbot-box-main {
    width: 340px !important;
    background: #fff !important;
    box-shadow: 0px 3px 6px rgb(0 0 0 / 30%) !important;
    border-radius: 3px !important;
}

.chatbot-message-body-main {
    background-color: #fff !important;
}
.chatbot-message-body-main .fields-wrapper {
    max-height: calc(100vh - 300px);
    overflow-y: auto;
    margin-right: -16px;
    padding-right: 16px;
    margin-bottom: 10px;
}

.powered-by {
    font-size: 11px !important;
    line-height: 16px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.chatbot-message-body {
    padding: 24px !important;
    height: calc(100vh - 270px) !important;
    overflow-y: auto !important;
}

.chatbot-header {
    display: flex !important;
    flex-direction: row !important;
    background: #3570E9 !important;
    padding: 16px !important;
    align-items: center !important;
    border-radius: 5px 5px 0px 0px !important;
}

.chatbot-icon-header {
    margin-right: 15px !important;
    position: relative !important;
}

.chatbot-header-text {
    margin-top: -5px !important;
    width: 190px;
}

.online-symbol {
    position: absolute !important;
    right: 0px !important;
    bottom: 8px !important;
    width: 10px !important;
    height: 10px !important;
    background: #33D503 !important;
    border: 0.4px solid white !important;
    border-radius: 50% !important;
}

.chatbot-icon-header img {
    width: 60px !important;
    height: 60px !important;
}

.chatbot-header-text h3 {
    color: #fff !important;
    font-size: 20px !important;
    line-height: 28px !important;
    font-weight: bold !important;
    padding-bottom: 3px !important;
}

.chatbot-header-text p {
    color: #fff !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 300 !important;
}

.user-input-main {
    display: flex !important;
    align-items: center !important;
    padding: 0px !important;
    position: relative !important;
    background-color: #fff !important;
    overflow: hidden !important;
    color: #000000 !important;
    height: 56px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.orange-icon {
    cursor: pointer !important;
}

.user-input-main textarea {
    min-height: 38px !important;
    height: 38px !important;
    font-weight: 500;
    padding: 10px 20px 10px 16px !important;
    margin: 0px !important;
    width: 86% !important;
    resize: none !important;
    border: 0px !important;
    font-size: 14px !important;
    line-height: 18px !important;
    box-shadow: none !important;
    margin: 0px !important;
    overflow-y: auto !important;
    background: #FFFFFF !important;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}
.user-input-main textarea::-webkit-input-placeholder {
    color: #7D828A;
    font-size: 13px;
    font-weight: 500 !important;
}
.user-input-main textarea:-moz-placeholder { /* Firefox 18- */
    color: #7D828A;
    font-size: 13px;
    font-weight: 500 !important;  
}
.user-input-main textarea::-moz-placeholder {  /* Firefox 19+ */
    color: #7D828A;
    font-size: 13px;
    font-weight: 500 !important;  
}
.user-input-main textarea:-ms-input-placeholder {
    color: #7D828A;
    font-size: 13px;
    font-weight: 500 !important;  
}

.user-input-main textarea:focus {
    outline: none !important;
}

.user-input-main img {
    position: absolute !important;
    right: 16px !important;
    bottom: 10px !important;
    width: 34px !important;
    height: 34px !important;
}

.attachment-icon {
    margin-left: 16px;
    cursor: pointer !important;
}
@media screen and (max-width: 599px) {
    .attachment-icon {
        width: 295px; 
    }
}

@media screen and (min-width: 600px) and (max-width: 1023px) {
    .attachment-icon {
        width: 315px;
    }
}

@media screen and (min-width: 1024px) {
    .attachment-icon {
        width: 320px;
    }
}

.chat-left-main {
    max-width: 80% !important;
    clear: both !important;
    margin-bottom: 16px !important;
}

.chat-left-main .message-text {
    /* background: #f2f2f2 !important; */
    /* padding-left: 4px !important; */
    font-family: Inter, sans-serif;
    color: #222 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    line-height: 20px !important;
    /* margin-bottom: 5px !important; */
    word-break: break-word !important;
    /* display: inline-flex; */
    display: inline-block;
    max-width: 100%;
}
.chat-left-main .message-text b {
    font-weight: 700;
}

.chat-left-main .timestamp {
    text-align: left !important;
    padding-top: 0px !important;
    font-size: 11px !important;
    line-height: 14px !important;
    color: #666666 !important;
    position: relative !important;
    left: 0px !important;
    top: 0px !important;
}

.sms-magic-chat-right-box {
    max-width: 300px !important;
    clear: both !important;
}

.chat-right-main {
    max-width: 80% !important;
    min-width: 88px;
    clear: both !important;
    float: right !important;
    display: inherit !important;
    text-align: right !important;
    margin-bottom: 16px !important;
}

.chat-right-main .timestamp {
    text-align: right !important;
    font-size: 11px !important;
    line-height: 14px !important;
    color: #666666 !important;
}

.sms-magic-chat-right-box .message-text {
    width: auto !important;
    background: #3570E9 !important;
    padding: 12px !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    line-height: 20px !important;
    margin-bottom: 5px !important;
    text-align: left !important;
    word-break: break-word !important;
}
.sms-magic-chat-right-box .message-text b {
    font-weight: 700;
}

.message-text a {
    text-decoration: underline !important;
    color: blue !important;
    font-size: 14px !important;
    line-height: 20px !important;
    line-break: anywhere !important;
}
.sms-magic-chat-right-box .message-text a {
    text-decoration: underline !important;
    color: white !important;
    font-size: 14px !important;
    line-height: 20px !important;
    line-break: anywhere !important;
}
.chatbot-display-none {
    display: none !important;
}

.sms-magic-cta-buttons {
    margin-bottom: 6px !important;
}

.sms-magic-cta-buttons ul {
    margin: 0px !important;
    padding: 0px !important;
}

.sms-magic-cta-buttons ul li {
    list-style-type: none !important;
    padding: 8px 16px !important;
    border: 1px solid #1d6ad6 !important;
    margin-top: 10px !important;
    display: inline-block !important;
    border-radius: 25px !important;
    margin-right: 8px !important;
    color: #1d6ad6 !important;
    cursor: pointer !important;
    font-size: 14px !important;
    line-height: 12px !important;
    background-color: #eff1f5 !important;
    font-weight: 500 !important;
}

.sms-magic-cta-buttons ul li a {
    text-decoration: none !important;
    color: #3570E9 !important;
    font-size: 16px !important;
    line-height: 20px !important;
}

.sms-magic-cta-buttons {
    width: 270px !important;
    position: relative !important;
    left: 35px !important;
}

.sms-msg-label {
    font-size: 12px !important;
    position: relative !important;
    top: -11px !important;
    left: 5px !important;
    font-weight: 500 !important;
    color: #888 !important;
}

.sms-magic-chat-left-box {
    border: 1px solid #DEDEDE;
    border-radius: 8px !important;
    position: relative !important;
    padding: 8px !important;
    margin-bottom: 8px;
    display: flex !important;
    flex-direction: column;
    width: fit-content;
    gap: 5px !important;
}
.sms-magic-chat-left-attachCTA {
    position: relative !important;
    padding: 8px !important;
    margin-bottom: 8px;
    display: flex !important;
    flex-direction: column;
    width: fit-content;
    gap: 5px !important;
}
.sms-right-label {
    font-size: 12px !important;
    position: relative !important;
    right: 6px !important;
    color:#888 !important;
}

.sms-powered-by-image {
    margin: 0 4px 0 2px !important;
}


.chatbot-message-body::-webkit-scrollbar, .user-input-main textarea::-webkit-scrollbar {
    width: 8px !important;
}
  
.chatbot-message-body::-webkit-scrollbar-track, .user-input-main textarea::-webkit-scrollbar-track {
    border-radius: 5px !important;
}

.chatbot-message-body::-webkit-scrollbar-thumb, .user-input-main textarea::-webkit-scrollbar-thumb {
    background: #dddddd !important; 
    border-radius: 10px !important;
}

.chatbot-message-body::-webkit-scrollbar-thumb:hover, .user-input-main textarea::-webkit-scrollbar-thumb:hover {
    background: #dddddd !important; 
}

.sms-no-vertical-align {
    vertical-align: unset !important;
}

.sms-height-64 {
    height: 38px !important;
}

.sms-height-auto {
    height: auto !important;
}

.sms-cta-buttons {
    margin-right: 10px !important;
    margin-bottom: 4px !important;
    padding: 5px 15px !important;
    border: 1px solid #3380F6 !important;
    border-radius: 20px !important;
    color: #3380F6 !important;
    font-size: 14px !important;
    background: #fff !important;
    cursor: pointer;
}

.sms-spinner {
    width: 70px !important;
    text-align: center !important;
    flex-direction: row !important;
  }
  
  .sms-spinner > div {
    width: 12px !important;
    height: 12px !important;
    background-color: #3570e9 !important;
    border-radius: 100% !important;
    display: inline-block !important;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both !important;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both !important;
  }
  
  .sms-spinner .bounce1 {
    -webkit-animation-delay: -0.32s !important;
    animation-delay: -0.32s !important;
  }
  
  .sms-spinner .bounce2 {
    -webkit-animation-delay: -0.16s !important;
    animation-delay: -0.16s !important;
  }
  
  @-webkit-keyframes sk-bouncedelay {
    0%, 80%, 100% { -webkit-transform: scale(0) }
    40% { -webkit-transform: scale(1.0) }
  }
  
  @keyframes sk-bouncedelay {
    0%, 80%, 100% { 
      -webkit-transform: scale(0);
      transform: scale(0);
    } 40% { 
      -webkit-transform: scale(1.0);
      transform: scale(1.0);
    }
  }

.sms-cta-buttons:focus {
    outline: none !important;
    background: #3570e9 !important;
    color: white !important;
}
.chatbot-edit-icon img {
    cursor: pointer;
}
.chatbot-edit-icon {
    position: absolute;
    right: 16px;
}
.chatbot-hidden { display: none;}
.chatbot-error-message {
    padding: 6px 20px;
    border-radius: 5px;
    font-size: 14px;
    line-height: 24px;
    position: absolute;
    bottom: 52%;
}
.chatbot-close-text {
    cursor: pointer;
    margin-left: 10px;
    font-size: 12px;
  }



 .sm-cb-main-container-chatbot {
    width: 400px;
    /* width: 314px; */
    border-radius: 13px;
    box-shadow: 0px 4px 16px 0px #0000001F;
    background-color: #FFF !important;
    overflow: hidden;
    font-weight: 500;
    color: #FFF !important;
 } 

 .sm-cb-main-container-chatbot  .sm-cb-header-container-chatbot {
    width: 100%;
    min-height: 64px;
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-radius: 13px 13px 0 0;
    box-shadow: 0 2px 40px 0 rgb(0 0 0 / 6%);
    background-color: #246ff1 !important;
 }


 .sm-cb-main-container-chatbot .sm-cb-result-container-chatbot {
    max-height: 95%;
    max-width: 100%;
    background: #FFFFFF !important;
    box-shadow: 0 1px 5px 0 rgb(0 0 0 / 10%);
    border-radius: 6px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 8px;
 }
.sm-cb-header-container-chatbot .sm-cb-screen-head {
    display: flex;
    align-items: center;
}
.sm-cb-header-container-chatbot .sm-cb-back-button {
    cursor: pointer;
    width: 20px;
    height: auto;
    margin-right: 10px;
    transition: transform .3s ease;
    display: inline-flex;
    align-items: center;
}

.sm-cb-header-container-chatbot .sm-cb-connect-message {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: normal;
    text-align: left;
    line-height: 22px;
    color: #000;
    display: inline-flex;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif !important;
}

.sm-cb-header-container-chatbot .sm-cb-close-icon{
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 12px;
    color: #fff !important;
    height: 24px;
    width: 24px;
    padding: 0;
}


@media screen and (max-width: 600px) {
    .chatbot-box-main {
        width: 100% !important;
        margin-left: 3% !important;
    }
    .chatbot-message-body {
        height: 250px !important;
    }
    .chatbot-main {
        width: 340px !important;
    }
    .chatbot-icon, .chatbot-close-icon {
        margin-right: -10px !important;
    }

        .sms-magic-cta-buttons ul li {
            font-size: 12px !important;
        }

        .sms-cta-buttons {
            font-size: 12px !important;
            padding: 2px 8px !important;
        }
}

@media screen and (max-width: 450px) {
    .chatbot-main {
        width: calc(100% - 20px) !important;
        bottom: 10px !important; 
    }
}

/* New UI improvements for mobile view */
@media screen and (max-width: 576px) {
    .sm-cb-main-container {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        border-radius: 0;
    }
    .sm-cb-main-container .sm-cb-header-container {
        width: 100%;
        height: calc(100vh - 330px);
        border-radius: 0;
    }
    .sm-cb-common-container {
        height: calc(100vh - 24px);
    }
    .sm-cb-main-container-chatbot {
        width: 100% !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        height: 100%;
        border-radius: 0;
    }
    .sm-cb-main-container-chatbot .sm-cb-common-container-chatbot,
    .sm-cb-main-container-chatbot .chatbot-message-body-main {
        height: 100%;
    }
    .sm-cb-main-container-chatbot .sm-cb-header-container-chatbot {
        width: 100% !important;
        border-radius: 0;
    }
    .sm-cb-main-container-chatbot .sm-cb-result-container-chatbot {
        height: calc(100vh - 92px);
    }
    .chatbot-message-body {
        height: calc(100% - 57px) !important;
    }
}

  .item .smchatbot-item-image {
      width: 50px;
      height: 50px;
      animation: loader 3s infinite ease-in-out;
      -webkit-animation: loader 3s infinite ease-in-out;
  }
  
  .item .smchatbot-content .smchatbot-title {
      height: 12px;
      margin: 10px;
      width: 80px;
      animation: loader 3s infinite ease-in-out;
      -webkit-animation: loader 3s infinite ease-in-out;
  }
  
  .item .smchatbot-content .smchatbot-short-title {
      height: 12px;
      margin: 10px;
      width: 250px;
      animation: loader 3s infinite ease-in-out;
      -webkit-animation: loader 3s infinite ease-in-out;
  }
  
  @keyframes loader {
      0% {
          background-color: rgba(165, 165, 165, 0.1);
      }
      50% {
          background-color: rgba(165, 165, 165, 0.3);
      }
      100% {
          background-color: rgba(165, 165, 165, 0.1);
      }
  }
  
  @-webkit-keyframes loader {
      0% {
          background-color: rgba(165, 165, 165, 0.1);
      }
      50% {
          background-color: rgba(165, 165, 165, 0.3);
      }
      100% {
          background-color: rgba(165, 165, 165, 0.1);
      }
  }

  .attachment {
    width: 220px !important;
    height: 53px !important;
    padding: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    border-radius: 10px !important;
}

.attachment .icon {
    width: 32px;
    margin-right: 0px;
    overflow: hidden !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.attachment .item-title-size {
    display: flex;
    flex-direction: column;
    text-align: left !important;
    padding-left: 8px !important;
}

.attachment .title {
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 19.6px;
    color: #343C48;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.attachment .size {
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 16.8px;
    color: #7D8289;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.with-text{
   margin: 8px;
}

.attach-text{
    width: 217px !important;
    text-align: left;
    font-weight: 400;
    margin-left: 12px !important;
    margin-right: 12px !important;
    margin-bottom: 12px;
    padding-left: 3px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-family: Inter, sans-serif;
}
.main-chat-message{
    width: 238px !important;
    border: 1px solid #DEDEDE;
    border-radius: 8px !important;
    margin-bottom: 8px; 
}

.attachment-and-preview-container {
    display: flex;
    flex-direction: column;
    align-items: start;
    margin-left: 16px;
    position: relative;
}

.attachment-icon {
    display: flex !important;
    align-items: center !important;;
    cursor: pointer;
    margin-right: 8px;
}

.file-preview {
    display: none;
    margin-right: 8px;
    margin-left : 41px !important;
}

.file-preview-container {
    position: relative;
    margin: 8px;
}

.file-preview-remove {
    position: absolute;
    bottom: 27px !important;
    left: 31px !important ;
    cursor: pointer;
}

.file-preview-remove svg {
    width: 20px;
    height: 20px;
}
img-container {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
.attachment .download-icon{
    position: relative;
    margin-left: 30px !important;
    right: 23px !important;
    z-index: 10;
}
.attachment .additional-icon{
    position: relative;
    top: 0px !important;
    right: 0px !important;
}
.toast {
    width: 100%;
    max-width: 350px !important;
    background-color: #f44336;
    color: #fff;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    padding: 16px;
    text-align: center; 
    justify-content: center; 
    border-radius: 8px;
    font-size: 14px ;
    position: absolute !important;
    top: 60px !important;
    margin: 10px 0;
    transition: opacity 0.5s ease;
    align-items: center; 
    box-sizing: border-box;
}

.hidden {
    opacity: 0;
    visibility: hidden;
}

.show {
    opacity: 1;
    visibility: visible;
}
.attachment:hover .download-icon,
 .attachment:hover .additional-icon {
    display: block !important;
    pointer-events: auto !important; 
    cursor: pointer !important;
}

/* otp css */
.phone-form-container {
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom:100px;
    width: 88%;
    height: 159px;
    gap: 16px;
    padding: 16px 0 ;
    justify-content: center;
    align-items: center;
    background-color:#F9FAFB ;
    border-radius: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #DDE0E1
}


/* Label styles */
.phone-label {
    font-size: 14px;
    color: #353C48;
    font-weight: 580px;
    font-family: Inter, sans-serif;
 }

/* Input group styles */
.input-group {
    display: flex;
    height: 43px;
    color:black
}

/* Country code select styles */
.country-code {
    width: 95px;
    padding-left: 16px;
    border: 1px solid #D1D5DB;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    background-color: #F2F3F3;
    min-width: 80px;
    outline: none;
    /* Customize the dropdown arrow */
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='21' viewBox='0 0 20 21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8L10 13L15 8' stroke='%23353C48' stroke-width='1.66667' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
}
.country-code:focus{
    border: 1px solid #D1D5DB ;
    box-shadow: none; 
    outline: none; 
}

/* Phone number input styles */
.phone-input {
    flex: 1;
    width: 178px;
    padding: 8px;
    border: 1px solid #0063F6;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    font-size: 14px;
}
.phone-input:focus {
    border: 1px solid #0063F6;
    box-shadow: none; 
    outline: none; 
}

/* Submit button styles */
.submit-button {
    width: 100px;
    height: 36px;
    background-color: #5a8aff;
    color: white;
    font-size: 15px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
.submit-button-disabled {
    width: 100px;
    height: 36px;
    background-color: #89B6FD;
    color: white;
    font-size: 15px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: not-allowed;
}

.submit-button:hover {
    background-color: #5a8aff;
}

.otp-container {
    display: flex;
    flex-direction: column; 
    padding: 16px;
    background-color: #F9FAFB;
    border: 1px solid #DDE0E1;
    border-radius: 16px;
  }
  
  .otp-heading {
    color: #353C48;
    font-size: 13px;
    margin-bottom: 16px;
    text-align: center;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
  }
  
  .otp-text {
    color: #353C48;
    /* margin-bottom: 28px; */
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 420;
    line-height: 21px;
    letter-spacing: 0.01em;
    text-align: center;
    font-variation-settings: 'slnt' 0;
    padding-left: 39px;
    padding-right: 39px;
  }
  
  .change-number {
    color:#353C48;
    text-decoration: underline;
    text-underline-offset: 3px; 
    margin-left: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 21px;
    letter-spacing: 0.01em;
    text-align: center;
    cursor: pointer;
  }
  
  .otp-boxes-container {
    display: flex;
    margin-top: 16px;
    justify-content: center;
    gap: 10px;
    margin-bottom: 6px;
  }
  
  .otp-input {
    width: 64px;
    height: 64px;
    border: 1px solid #DEE0E1 ;
    border-radius: 8px;
    text-align: center;
    color: #0463FA;
    display: flex; /* To use the gap */
    align-items: center;  /* Centers text vertically */
    justify-content: center;
    gap: 10px;
    font-size: 40px;
    outline: none;
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05); 
    transition: border-color 0.3s ease
  }
  
  .otp-input:focus, .otp-input.has-value {
    border: 1px solid #89B6FD;
    box-shadow: 0px 1px 2px 0px #1018280D;
  }
  .otp-input-error{
    border: 1px solid #B72318;
    color: #B72318;
  }
  
  .verify-btn {
    background-color: #89B6FD;
    color: white;
    font-size: 15px;
    width: 162px;
    height: 43px;
    border:none;
    border-radius: 8px;
    font-family:'Inter', sans-serif;
    cursor: pointer;
  }
  
  
  .resend-text {
    color: #343C48;
    margin-right: 12px;
    font-weight: 500;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
  }
  
  .resend-btn {
    background-color: white;
    color: #034DC4;
    border: none;
    font-size: 15px;
    cursor: pointer;
    display: none;
    text-decoration: underline;
    text-underline-offset: 2px; 
    text-decoration-color: #034DC4 ;
  }
  
  .phone{
    font-weight: 600;
    font-family: 'Inter', sans-serif;;
  }
  .timer {
    color: #353C48;  /* Using your blue color theme */
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    /* margin-left: 8px; */
  }
  .sm-otp-error-message{
    color: #B72318;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    margin-top: 6px;
    text-align: center;
    min-height: 20px;
    display: none;
}
  .otp-error-message {
    color: #B72318;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    margin-top: 6px;
    text-align: center;
    min-height: 20px;
    display: none;
  }
  
  /* Only add this class to override the border color for error state */
  .resend-container {
    text-align: center;
    margin-top: 16px;
    transition: margin-bottom 0.3s ease; 
  }
  .verify-btn-container {
    margin-top: 16px; 
    text-align: center;
  }
  .success-message{
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-style: italic;
    font-weight: 500;
    line-height: 18.2px;
    letter-spacing: 0.01em;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #343C48; 
    padding: 10px; 
    border-radius: 5px;
    margin-top: 10px; 
  }

/* Ensure the container can handle multiple attachments */
/* .sms-magic-chat-right-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
} */

/* 16Apr */

/* General styling for the chat container */
.chat-container {
    font-family: Arial, sans-serif;
    max-width: 400px;
    margin: 20px auto;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
  }
  
  /* Header styling */
  .chat-header {
    background: #3b5998;
    color: white;
    padding: 10px;
    text-align: left;
    font-size: 14px;
    position: relative;
  }
  
  .chat-header .close-btn {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
  }
  
  /* Bot selection button */
  .bot-selection {
    padding: 10px;
    background: #fff;
  }
  
  .bot-selection button {
    background: #007bff;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
  }
  
  /* Message bubble styling */
  .message {
    background: #fff;
    padding: 10px;
    margin: 10px;
    border-radius: 5px;
    position: relative;
    max-width: 80%;
  }
  
  .message.bot {
    background: #e9ecef;
    margin-left: 20px;
  }
  
  .message .timestamp {
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px;
  }
  
  /* Feedback buttons */
  .feedback-buttons {
    margin-top: 5px;
  }
  
  .feedback-btn {
    cursor: pointer;
    font-size: 18px;
    margin-right: 10px;
  }
 
  
  .feedback-btn.selected svg {
    display: inline-block;
    fill: #888; 

  }
  

  
  /* Feedback form styling */
  .feedback-form {
    margin-top: 10px;
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .feedback-prompt {
    font-size: 14px;
    color: #333;
  }
  
  .feedback-input {
    width: 100%;
    min-height: 50px;
    margin: 10px 0;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: none;
    color: #333;
    font-size: 12px;
  }
  
  .feedback-actions {
    text-align: right;
  }
  
  .cancel-btn, .submit-btn {
    padding: 5px 15px;
    margin-left: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  .cancel-btn {
    background: #fff;
    color: #6c757d;
    border: 1px solid #ccc;
  }
  
  .submit-btn {
    background: #6c757d;
    color: #fff;
  }
  
  /* Feedback confirmation */
  .feedback-confirmation {
    margin-top: 10px;
    margin-bottom: 10px;
    color: #333;
    font-size: 11px;
  }
  
  /* Input area styling */
  .input-area {
    display: flex;
    padding: 10px;
    background: #fff;
    border-top: 1px solid #ddd;
  }
  
  .input-area input {
    flex: 1;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-right: 10px;
  }
  
  .input-area button {
    padding: 5px 10px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
 