.aiko-chat-container input[type='text'],
.aiko-chat-container input[type='number'],
.aiko-chat-container input,
.aiko-chat-container textarea {
    font-size: 16px;
}

.aiko-chat-container {
    width: 100%;
    border-radius: 16px;
    background-color: white;
    z-index: 999999;
    transition: right 0.3s ease;
}

.aiko-chat-container .chat-body {
    height: 230px;
    width: auto;
    background-color: white;
    overflow-y: scroll;
    overflow-x: hidden;
}

.aiko-chat-container .chat-body.is-answering {
    height: 63vh;
}

@media (min-width: 768px) {

    .aiko-chat-container {
        width: 100%;
    }

    .aiko-chat-container .chat-body.is-answering {
        height: 386px;
    }

    .aiko-chat-container .chat-header-ai-aiko {
        width: 70px !important;
        height: 70px !important;
    }

    .aiko-chat-container .chat-header .chat-header-options-button {
        width: 30px !important;
        margin-right: 20px !important;
    }

    .aiko-chat-container .chat-header .chat-header-options-button img {
        width: 30px !important;
        height: 30px !important;
    }

    .aiko-chat-container .chat-title {
        font-size: 22px !important;
        line-height: 32px !important;
    }

    .aiko-chat-container .additional-text {
        font-size: 14px !important;
        line-height: 18px !important;
    }

    .aiko-chat-container .beta-badge {
        padding-left: 5px !important;
        padding-right: 5px !important;
        padding-top: 3px !important;
        padding-bottom: 3px !important;
        width: 35px !important;
        font-size: 12px !important;
        line-height: 16px !important;
    }

    .aiko-chat-container .chat-from-assistant {
        font-size: 16px !important;
        line-height: 22px !important;
    }

    .aiko-chat-container .user-chat-content-start p:not(.chat-time) {
        font-size: 16px !important;
        line-height: 22px !important;
    }

    .aiko-chat-container .chat-time {
        font-size: 12px !important;
    }
}

.aiko-chat-container .chat-body::-webkit-scrollbar {
    width: 5px;
}

.aiko-chat-container .chat-body::-webkit-scrollbar-track {
    background-color: #fff !important;
}

.aiko-chat-container .chat-body::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 5px;
}

.aiko-chat-container .chat-title {
    color: #1A1A1A;
    font-size: 16px;
    line-height: 22px;
    font-family: "Noto Sans", sans-serif;
    font-weight: 510;
    margin-left: 10px;
}

.aiko-chat-container .chat-header {
    background-color: #FFFFFF;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    padding-left: 10px;
    margin-left: 5px;
    margin-right: 5px;
    position: relative;
    top: 1%;
    padding-top: 12px;
}

.aiko-chat-container .chat-header-ai-aiko {
    width: 49.54px;
    height: 49.54px;
}

.aiko-chat-container .chat-header-close-button {
    width: 20px;
    padding: 0;
    background-color: #FFFFFF4D;
    border: none;
    border-radius: 50%;
    margin-right: 15px;
    transition: ease 0.5s;
    cursor: pointer;
}

.aiko-chat-container .chat-header-close-button img {
    width: 100%;
    height: 100%;
    vertical-align: top !important;
}

.aiko-chat-container .chat-header-close-button:hover {
    opacity: 0.7;
    transition: ease 0.5s;
}

.aiko-chat-container .chat-input-container {
    padding: 8px;
}

.aiko-chat-container .chat-input-item {
    position: -webkit-sticky; 
    position: sticky;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 98%;
    min-height: 45px;
    border: none;
    border-radius: 16px;
    color: black;
    box-shadow: 0px 1px 4px 0px #00000014 inset;
    background-color: #f6f6f6;
    margin-left: 1%;
    margin-right: 1%;
    overflow: hidden;
}

.aiko-chat-container .chat-input-container textarea {
    font-family: "Noto Sans", sans-serif;
    resize: none;
    border: none;
    background-color: transparent;
    outline: none;
    overflow-y: hidden;
    overflow-x: hidden;
    line-height: 20px;
    width: calc(100% - 80px);

    min-height: 22px;
    margin-left: 17.18px;
    align-content: center;
}

.aiko-chat-container .chat-input-container textarea::placeholder {
    color: #CCCCCC;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
}

.aiko-chat-container .chat-input-container img {

    top: 0;
    right: 0;
    height: 100%;
    border: none;
    border-radius: 0 16px 16px 0;
    box-shadow: 0px 0px 0px 0px #00000014 inset;
    background: none;
    cursor: pointer;
}

.aiko-chat-container .chat-date {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.aiko-chat-container .chat-date p {
    font-family: "Noto Sans", sans-serif;
    height: 14.85px;
    font-size: 10px;
    line-height: 11.93px;
    font-weight: 510;
    margin-top: 5px;
    color: #C1C1C1;
}

.aiko-chat-container .user-chat-content-start {
    position: relative;

    height: auto;
    background-color: #1A1A1A;
    padding: 1px;
    border-radius: 16px;
    border-top-right-radius: 1px;
    margin-left: auto;
    margin-bottom: 10px;
    margin-left: 60px;
}

.aiko-chat-container .user-chat-content-start p {
    margin-left: 12px;
    margin-right: 12px;
    margin-top: 9.15px;
    margin-bottom: 10px;
    font-family: "Noto Sans", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #FFFFFF;
}

.aiko-chat-container p a {
    word-break: break-all;
}

.aiko-chat-container .chat-from-assistant p:not(.chat-time), .aiko-chat-container .chat-from-assistant li {
    color: #1A1A1A !important;
}

.aiko-chat-container .chat-time {
    font-family: "Noto Sans", sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 10.9px;
    color: #C1C1C1;
    margin-top: -9px;
    text-align: right;
    margin-right: 10px;
}

.aiko-chat-container .user-chat-content-start .chat-time {
    font-family: "Noto Sans", sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 10.9px;
    color: #C1C1C1;
    margin-top: -9px;
}

.aiko-chat-container .user-chat-content-start:before {
    content: '';
    position: absolute;
    top: 0;
    right: -6px;
    width: 0;
    height: 0;
    color: #1A1A1A;
    border-top: 0 solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 15px solid #1A1A1A;
}

.aiko-chat-container .assistant-chat-content-start {
    position: relative;

    height: auto;
    background-color: #EEEEEE;
    padding: 1px;
    border-radius: 16px;
    border-top-left-radius: 1px;
    margin-left: 8px;
    margin-bottom: 10px;
    margin-right: 30px;
}

.aiko-chat-container .assistant-chat-content-start p {
    margin-right: 12px;
    margin-left: 12px;
    margin-top: 9.15px;
    margin-bottom: 10px;
}

.aiko-chat-container .assistant-chat-content-start img {
    width: 200px;
    height: auto;
}

.aiko-chat-container .assistant-chat-content-start:before {
    content: '';
    position: absolute;
    top: 0;
    left: -6px;
    width: 0;
    height: 0;
    border-top: 0 solid transparent;
    border-bottom: 20px solid transparent;
    border-right: 15px solid #EEEEEE;
}

.aiko-chat-container .chat-from-assistant {
    margin-left: 1px;
    font-family: "Noto Sans", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    display: flex;
    align-items: flex-start;
    float: left;
    word-break: break-word;
}

.aiko-chat-container .chat-from-assistant .icon-column {
    margin-left: 13.06px;
}

.aiko-chat-container .chat-from-assistant .chat-content {
    flex-grow: 1;
}

.aiko-chat-container .chat-from-assistant .icon-column .aiko-icon {
    width: 30px;
    height: 30px;
    max-width: unset;
}

.aiko-chat-container .assistant-chat-content-continues {
    position: relative;

    height: auto;
    background-color: #EEEEEE;
    padding: 1px;
    border-radius: 16px;
    border-top-left-radius: 1px;
    margin-left: 50px;
    margin-bottom: 10px;
    margin-right: 30px;
}

.aiko-chat-container .assistant-chat-content-continues p {
    margin-left: 12px;
    margin-right: 12px;
    margin-top: 9.15px;
    margin-bottom: 10px;
}

.aiko-chat-container .assistant-chat-content-continues img {
    width: 200px;
    height: auto;
}

.aiko-chat-container .chat-from-user {
    margin-right: 16px;
    float: right;
    word-break: break-word;
}

.aiko-chat-container .typing-indicator {
    text-align: center;
    margin-bottom: 10px;
}

.aiko-chat-container .chat-bubble .typing {
    align-items: center;
    display: flex;
    height: 17px;
}

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

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

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

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

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

.aiko-chat-container .aiko-answering {
    font-family: "Noto Sans", sans-serif;
    font-weight: 400;
    font-size: 0.75rem;
    line-height: 16.34px;
    color: #CCCCCC;
}

.aiko-chat-container .additional-text {
    font-family: "Noto Sans", sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: #1A1A1A;
    margin-left: 10px;
}

.aiko-chat-container .beta-badge {
    width: 30.63px;
    color: white;
    padding-left: 5px;
    padding-top: 1px;
    margin-left: 5px;
    padding-bottom: 1px;
    padding-right: 5px;
    height: 14px;
    border-radius: 5px;
    background-color: #41AC00;
    font-family: "Noto Sans", sans-serif;
    font-weight: 500;
    font-size: 8px;
    line-height: 10.9px;
}

.aiko-chat-container .header-seperator {
    border: 0.5px solid #F6F6F6 !important;
    opacity: 1 !important;
    width: 99%;
    margin-top: 14.59px !important;
    margin-bottom: 8px !important;
}

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

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

    }

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

.aiko-chat-container .send-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    margin-right: 10px;
}

.aiko-chat-container .send-button img {
    width: 24px;
    height: 24px;
}

.aiko-chat-container .chat-title-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.aiko-chat-container .chat-header-options-button {
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    width: 20px;
    margin-right: 15px;
}

.aiko-chat-container .chat-header-options-button img {
    width: 20px;
    height: 20px;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.aiko-chat-container .chat-from-assistant,
.aiko-chat-container .chat-from-user {
    clear: both;
    overflow: hidden;
}

.aiko-chat-container .assistant-chat-content-start,
.aiko-chat-container .assistant-chat-content-continues,
.aiko-chat-container .user-chat-content-start {
    max-width: 80%;
    word-wrap: break-word;
}
