body, html {
    margin: 0;
    padding: 0;
    height: 100%;
}

/* Set up container for chat window */
.container {
    display: none;
    grid-template-rows: 90px calc(100% - 140px) 50px;
    height: calc(100vh - 100px);
    /*max-width: 372px;*/
    border-radius: 20px;
    border: 1px solid #ccc;
    box-shadow: 0px 0px 48px 0px rgba(20, 20, 20, 0.10);
    margin-right: 20px;
    background-color: white;
}

.container a {
    color: #7249BC;
}

.title-container {
    display: flex;
    background-color: #141414;
    height: 90px; /* Fixed height */
    border-top-left-radius: 20px; /* Round only top-left corner */
    border-top-right-radius: 20px; /* Round only top-right corner */
    align-items: center;
}

.icon-container {
    margin-right: 20px; /* Add margin between icon and text */
    margin-left: 20px;
}

.title-text {
    font-family: 'Inter', sans-serif; /* Set font family */
    font-size: 24px; /* Set font size */
    color: white; /* Set text color */
    margin-right: 20px;
}

/* Messages style */
.messages-container {
    display: flex;
    flex: 1;
    flex-direction: column;
    overflow-y: auto; /* Enable scrolling if messages exceed container height */
    padding: 0px 10px 10px 10px;
    border: 1px;
}

.messages {
    padding: 0px;
}

.message {
    border-radius: 5px;
    padding: 5px;
    display: flex; /* Use flexbox */
    flex-direction: column; /* Align content vertically */
}

.sent {
    align-items: flex-end; /* Align content to the right for sent messages */
}

.received {
    align-items: flex-start; /* Align content to the left for received messages */
}

.received-content {
    font-family: 'Fira sans', sans-serif; /* Set font family */
    font-size: 16px; /* Adjust font size */
    background-color: #F6F6F6;
    color: #141414;
    padding: 10px;
    border-radius: 5px;
    max-width: 90%;
    word-wrap: break-word; /* Ensure text wraps within the container */
    overflow-wrap: break-word; /* For compatibility with older browsers */
    line-height: 22px;
}

.sent-content {
    font-family: 'Fira sans', sans-serif; /* Set font family */
    font-size: 16px; /* Adjust font size */
    background-color: #AD95DA;
    color: white;
    padding: 10px;
    border-radius: 5px;
    max-width: 90%;
    word-wrap: break-word; /* Ensure text wraps within the container */
    overflow-wrap: break-word; /* For compatibility with older browsers */
    line-height: 22px;
}

.timestamp {
    font-family: 'Fira sans', sans-serif; /* Set font family */
    font-size: 10px; /* Adjust font size */
    font-weight: bold;
    color: #141414; /* Adjust color */
    margin-top: 5px; /* Add space between message content and timestamp */
    margin-bottom: 5px;
}

.loading {
}

.ticket-container {
    display: none;
    padding: 10px;
    border: 1px;
    flex: 1;
    flex-direction: column; /* Align content vertically */
    background-color: #F6F6F6;
    overflow-y: auto; /* Enable scrolling if messages exceed container height */
}

.ticket-form-title-container {
    display: flex;
    flex-direction: row;
    margin-left: 10px;
    margin-top: 10px;
}

.form-title-text-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-left: 30px;
}

.sales-contact-container {
    display: none;
    padding: 10px;
    border: 1px;
    flex: 1;
    flex-direction: column; /* Align content vertically */
    background-color: #F6F6F6;
    overflow-y: auto; /* Enable scrolling if messages exceed container height */
}

.sales-contact-title-container {
    display: flex;
    flex-direction: row;
    margin-left: 10px;
    margin-top: 10px;
}

.sales-contact-form-container {
    display: flex;
    flex-direction: column; /* Align content vertically */
    flex: 1;
    padding: 5px 10px 10px 10px;
}

.back-to-messages-button {
    width: 25px;
    height: 25px;
    background-color: #7249BC;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    padding: 5px;
    cursor: pointer;
}

.back-to-messages-icon {
    width: 15px;
    height: 15px;
    margin: 5px;
}

.form-title {
    font-family: 'Fira sans', sans-serif; /* Set font family */
    font-size: 22px; /* Adjust font size */
    font-weight: 800;
    margin-bottom: 5px;
}

.title-tag {
    flex-grow: 1;
    font-family: 'Fira sans', sans-serif; /* Set font family */
    font-size: 12px; /* Adjust font size */
    font-weight: 400;
    line-height: 16px;
}

.warning-tag-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.warning-tag {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: 'Fira sans', sans-serif; /* Set font family */
    font-size: 12px; /* Adjust font size */
    font-weight: 600;
    padding: 6px 7px 6px 7px;
    color: #FC7E8D;
    border: 2px solid #FC7E8D;
    height: 15px;
    border-radius: 15px;
    background-color: #FFF5F6;
    margin-right: 10px;
}

.ticket-form {
    display: flex;
    flex-direction: column; /* Align content vertically */
    flex: 1;
    padding: 5px 10px 10px 10px;
}

.form-element {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

.form-text-container {
    display: flex;
    flex-direction: row;
}

.required-error-text {
    font-family: 'Fira sans', sans-serif; /* Set font family */
    font-size: 10px; /* Adjust font size */
    font-weight: 400;
    color: #DD001B;
    margin-left: 8px;
    margin-top: 3px;
}

.form-textfield-label {
    font-family: 'Fira sans', sans-serif; /* Set font family */
    font-size: 14px; /* Adjust font size */
    font-weight: 600;
    color: #141414;
}

.form-textfield {
    border-radius: 4px;
    border: 1px solid #ccc;
    font-family: 'Fira sans', sans-serif; /* Set font family */
    font-size: 16px; /* Adjust font size */
    color: #141414;
    margin-top: 5px;
    outline-color: #7249BC;
    padding: 10px;
}

.form-textarea {
    font-family: 'Fira sans', sans-serif; /* Set font family */
    font-size: 16px; /* Adjust font size */
    color: #141414;
    outline-color: #7249BC;
    border: 1px solid #C0C0C0;
    border-radius: 4px;
    margin-top: 5px;
    resize: none;
    padding: 10px;
}

.form-select {
    font-family: 'Fira sans', sans-serif; /* Set font family */
    font-size: 16px; /* Adjust font size */
    color: #141414;
    border-radius: 4px;
    padding: 10px;
    outline-color: #7249BC;
    margin-top: 5px;
    border: 1px solid #ccc;
}

.form-select-option-null {
    font-family: 'Fira sans', sans-serif; /* Set font family */
    font-size: 16px; /* Adjust font size */
    margin-bottom: 5px;
    color: #969696;
}

.form-select-option {
    font-family: 'Fira sans', sans-serif; /* Set font family */
    font-size: 16px; /* Adjust font size */
    color: #141414;
    margin-bottom: 5px;
}

.file-input-container {
    display: flex;
    flex-direction: row;
    justify-content: right;
}

.file-input-container input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 0px;
}

.file-name-container {
    display: flex;
    flex-direction: row;
}

.file-input {

}

.file-input-label {
    cursor: pointer;
}

.file-input-text {
    font-family: 'Fira sans', sans-serif; /* Set font family */
    font-size: 10px; /* Adjust font size */
    color: #7249BC;
    padding: 10px;
    text-align: right;
    width: 250px;
}

.file-name-remove-icon {
    width: 10px;
    height: 10px;
    cursor: pointer;
}

.file-input-label img {
    margin-left: 10px;
    cursor: pointer;
    padding: 10px 10px 10px 5px;
}

.form-submit-error-container {
    font-family: 'Fira sans', sans-serif; /* Set font family */
    font-size: 14px; /* Adjust font size */
    color: #DD001B;
    margin-bottom: 10px;
}

.form-submit-container {
    display: flex;
    flex-direction: column;
    margin-top: 4px;
}

.form-confirm-container {
    display: flex;
    flex-direction: row;
    margin-bottom: 5px;
}

.ticket-confirm-checkbox {
    width: 30px;
    background-color: #969696;
    height: 30px;
    border: 1px solid #141414;
    border-radius: 25px;
}

.form-confirm-text {
    margin-left: 10px;
    font-family: 'Fira sans', sans-serif; /* Set font family */
    font-size: 14px; /* Adjust font size */
    color: #141414;
    line-height: 18px;
}

.form-submit-button {
    display: flex;
    flex-direction: row;
    flex: 1;
    padding: 15px;
    justify-content: center;
    background-color: #C0C0C0;
    border-radius: 48px;
    margin-top: 10px;
    cursor: auto;
}

.ticket-submit-text {
    font-family: 'Fira sans', sans-serif; /* Set font family */
    font-size: 16px; /* Adjust font size */
    font-weight: 500;
    color: #FFFFFF;
}

/* Textbox style */
.prompt-container {
    bottom: 0;
    height: 50px; /* Fixed height */
    border-top: 1px solid #ccc;
    display: flex; /* Use flexbox */
    align-items: center; /* Align items vertically */
}

.prompt-text-field {
    flex: 1; /* Take up remaining space */
    padding: 10px; /* Add padding for spacing */
    border: none; /* Remove border */
    border-radius: 0; /* Remove border-radius */
    margin-left: 10px;
    margin-right: 5px;
    outline: none;
    font-family: 'Fira sans', sans-serif; /* Set font family */
    font-size: 16px; /* Adjust font size */
    color: #141414;
}

.submit-button {
    cursor: pointer; /* Add pointer cursor */
    margin-bottom: 10px;
    margin-left: 25px;
    width: 19px;
    height: 16px;
}

.policy {
    display: flex;
    flex-direction: column; /* Align content vertically */
    margin-right: 15px;
    margin-top: 5px;
}

.policy-link {
    font-family: 'Fira sans', sans-serif; /* Set font family */
    font-size: 8px; /* Adjust font size */
    font-weight: bold;
    text-decoration: none;
}

.toggle-button {
    cursor: pointer; /* Add pointer cursor */
    position: fixed;
    bottom: 20px; /* Adjust as needed */
    right: 20px; /* Adjust as needed */
    height: 70px;
    width: 70px;
}

.icon-notification {
    position: fixed;
    bottom: 72px; /* Adjust as needed */
    right: 21px; /* Adjust as needed */
    height: 20px;
    width: 20px;
}

.options-container {
    margin-top: 10px;
}

.sub-options-1 {
    display: none;
    flex-direction: column;
    margin-left: 20px;
}

.sub-options-2 {
    display: none;
    flex-direction: column;
    margin-left: 20px;
}

.sub-options-3 {
    display: none;
    flex-direction: column;
    margin-left: 20px;
}

.sub-options-4 {
    display: none;
    flex-direction: column;
    margin-left: 20px;
}

.acubot-button {
    font-family: 'Fira sans', sans-serif; /* Set font family */
    font-size: 16px; /* Adjust font size */
    border: 1px solid #AD95DA;
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 10px;
    padding: 10px;
    cursor: pointer;
    display: inline-block;
    width: fit-content;
}

.acubot-button-icon {
    margin-right: 5px;
}

.rating-container {
    margin-top: 10px;
    margin-left: 20px;
}

.sales-container {
    margin-top: -5px;
    margin-left: 25px;
}

.acubot-rating-button {
    font-family: 'Fira sans', sans-serif; /* Set font family */
    font-size: 16px; /* Adjust font size */
    border: 1px solid #AD95DA;
    margin-left: 5px;
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 10px;
    cursor: pointer;
    display: inline-block; /* Make the div wrap its content */
}

.acubot-support-button {
    font-family: 'Fira sans', sans-serif; /* Set font family */
    font-size: 16px; /* Adjust font size */
    border: 1px solid #AD95DA;
    margin-top: 10px;
    margin-left: 5px;
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 10px;
    cursor: pointer;
    display: inline-block; /* Make the div wrap its content */
}

input::placeholder {
    font-family: 'Fira sans', sans-serif; /* Set font family */
    font-size: 14px; /* Adjust font size */
    color: #969696;
}


.conversation-line-container {
    display: flex;
    flex-direction: column;
    margin: 6px;
}

.conversation-line-text-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.conversation-line-text {
    font-family: 'Fira sans', sans-serif; /* Set font family */
    font-size: 12px; /* Adjust font size */
    color: #7249BC;
    background-color: #FFFFFF;
    z-index: 1;
    padding-right: 15px;
    padding-left: 15px;
}

.conversation-line-wrapper {
    margin-top: -16px;
}

.conversation-line {
    border: 1px solid #7249BC;
}

.switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 25px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #C0C0C0;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #7249BC;
}

input:focus + .slider {
    box-shadow: 0 0 1px #7249BC;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(16px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.vertical-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.acubiz-welcome-container {
    display: none;
    flex: 1;
    flex-direction: column;
    overflow-y: auto; /* Enable scrolling if messages exceed container height */
    padding: 0px 10px 10px 10px;
    border: 1px;
}

.domino-welcome-container {
    display: none;
    flex: 1;
    flex-direction: column;
    overflow-y: auto; /* Enable scrolling if messages exceed container height */
    padding: 0px 10px 10px 10px;
    border: 1px;
}