.chat-icons {
    background: url('../../images/tools/ai_chat_sprite.svg');
    background-repeat: no-repeat;
    display: inline-block;
    overflow: hidden;
    text-indent: -9999px;
    text-align: left;
    height: 24px;
    width: 24px;
    flex-shrink: 0;
}

.study {
    background-position: 0 0;
}

.work {
    background-position: -24px 0;
}

.righ-arrow {
    background-position: -48px 0;
}

.call {
    background-position: -72px 0;
}

.australia {
    background-position: 0 -27px;
    width: 20px;
    height: 14px;
}

.canada {
    background-position: -20px -27px;
    width: 20px;
    height: 14px;
}

.germany {
    background-position: -40px -27px;
    width: 20px;
    height: 14px;
}

.chat-container {
    max-width: 904px;
    background-color: #FFF;
    display: flex;
    flex-direction: column;
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); */
    overflow: hidden;
    height: 100%;
    position: relative;
    justify-content: center;
    font-family: Poppins;
    margin: 0 auto;
}

.chat-header h1 {
    font-size: 36px;
    margin-bottom: 24px;
}

.chat-header p {
    font-size: 16px;
}

.chat-header {
    padding: 20px;
    color: #00215C;
    font-size: 24px;
    text-align: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.chat-box {
    padding: 20px;
    overflow-y: auto;
}

.send-message {
    width: 42px;
    height: 42px;
    padding: 6px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #00215C;
    border: none;
    position: absolute;
    right: 24px;
    bottom: 24px;
}

.send-message.disabled {
    background: #EDEDED;
}

.send-message.disabled path {
    fill: #E2E2E2;
}

.send-message svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    aspect-ratio: 1/1;
}

.message {
    width: fit-content;
    padding: 12px 16px;
    margin: 10px 0;
    border-radius: 8px;
    line-height: 1.5;
    font-size: 16px;
    font-weight: 500;
    max-width: 90%;
}

.message.user {
    background-color: #F3F3F3;
    align-self: flex-end;
    margin-left: auto;
    text-align: right;
    border: 0.5px solid #D3D3D3;
    color: rgba(17, 17, 17, 0.80);
}

.message.bot {
    background-color: #F6F9FF;
    align-self: flex-start;
    margin-right: auto;
    text-align: left;
    border: 0.5px solid #D8E4FE;
    color: #000;
}

.input-area {
    display: flex;
    flex-direction: column;
    padding: 16px;
    border-radius: 10px;
    border: 1px solid #255CC1;
    /* height: 120px; */
    padding: 24px 24.5px 24px 22.5px;
    position: relative;
}

.input-area textarea {
    width: 100%;
    background-color: #fff;
    border: none;
    color: rgba(0, 0, 0, 0.60);
    outline: none;
    font-size: 16px;
}

.input-area select.chat-select {
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 25px;
    outline: none;
    margin-right: 12px;
    background-color: #fff;
    cursor: pointer;
}

.quick-replies {
    margin-top: 10px;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.quick-reply-btn:hover,
.text-area-buttons button:hover {
    background-color: #255CC1;
    color: #fff;
}

.text-area-buttons button:hover .chat-icons {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(1%) hue-rotate(116deg) brightness(107%) contrast(101%);
}

.text-area-buttons {
    /* position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    top: 50px; */
    display: flex;
    gap: 10px;
}

.text-area-buttons button,
.quick-reply-btn {
    padding: 8px;
    border-radius: 4px;
    border: 0.4px solid #255CC1;
    background: #E5EAF8;
    color: #255CC1;
    display: flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
    text-align: left;
}

.space-between {
    width: 100%;
    z-index: 10;
    justify-content: space-between;
}

.chat-container {
    height: calc(100vh - 120px);
}

.chat-box .bot p {
    color: #000;
    font-size: 16px;
}

.chat-box table {
    border-collapse: collapse;
    width: 100%;
    margin: 1em 0;
}

.chat-box th,
.chat-box td {
    border: 1px solid #ccc;
    padding: 12px 16px;
    text-align: left;
}

.typing-indicator {
    display: inline-block;
    font-weight: bold;
}

.typing-indicator span {
    display: inline-block;
    animation: blink 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes blink {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@media(max-width:991px) {
    .chat-container {
        height: calc(100vh - 60px);
    }
}

@media(max-width:768px) {
    .text-area-buttons {
        flex-direction: column;
    }



}