body {
    font-family: 'Montserrat', sans-serif;
    background-color: #F3F4F6;
    color: #111827;
    margin: 0;
    padding: 0;
    height: 100vh;
}
.container {
    background-color: #FFFFFF;
    color: #111827;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 80%;
    max-width: 1000px;
    padding: 2rem;
    box-sizing: border-box;
}
.response-box {
    background-color: #FFFFFF;
    border: 1px solid #E5E7EB;
    color: #111827;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    height: 400px;
    max-height: 500px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: #E5E7EB #F3F4F6;
    scroll-behavior: smooth;
}
.response-box::-webkit-scrollbar {
    width: 8px;
}
.response-box::-webkit-scrollbar-thumb {
    background-color: #E5E7EB;
    border-radius: 8px;
}
.response-box::-webkit-scrollbar-track {
    background-color: #F3F4F6;
}
.message {
    padding: 1rem;
    border-radius: 8px;
    max-width: 75%;
    word-wrap: break-word;
    background-color: #FFFFFF;
    color: #111827;
}
.message.user {
    align-self: flex-end;
    background-color: #E5E7EB;
}
.message.bot {
    align-self: flex-start;
    background-color: #D1D5DB;
}
.input-field {
    background-color: #FFFFFF;
    border: 1px solid #D1D5DB;
    color: #111827;
    border-radius: 8px 0 0 8px;
    padding: 1rem;
    flex-grow: 1;
    margin-right: -1px;
    outline: none;
    font-size: 1.1rem;
}
.input-field:focus {
    border-color: #4F46E5;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}
.send-button {
    background-color: #4F46E5;
    border: none;
    color: #FFFFFF;
    border-radius: 0 8px 8px 0;
    padding: 1rem 2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1.1rem;
}
.send-button:hover {
    background-color: #4338CA;
}
.send-button:disabled{
    background-color: #bbb7ff;
    color: #FFFFFF;
}
.hook-button {
    background-color: #9CA3AF;
    border: none;
    color: #111827;
    padding: 1rem 2rem;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    font-size: 1.1rem;
}
.hook-button:hover {
    background-color: #6B7280;
}
@media (max-width: 768px) {
    .input-field, .send-button {
        width: 100%;
        margin-right: 0;
        border-radius: 8px;
    }
    .send-button {
        border-radius: 8px;
        margin-top: 1rem;
    }
}



#loading{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #F3F4F6;
    height: 100%;
    display: flex;
    align-content: center;
    justify-content: space-around;
    flex-direction: column;
    flex-wrap: wrap;
}
.lds-grid,
.lds-grid div {
    box-sizing: border-box;
}
.lds-grid {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-grid div {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: currentColor;
    animation: lds-grid 1.2s linear infinite;
}
.lds-grid div:nth-child(1) {
    top: 8px;
    left: 8px;
    animation-delay: 0s;
}
.lds-grid div:nth-child(2) {
    top: 8px;
    left: 32px;
    animation-delay: -0.4s;
}
.lds-grid div:nth-child(3) {
    top: 8px;
    left: 56px;
    animation-delay: -0.8s;
}
.lds-grid div:nth-child(4) {
    top: 32px;
    left: 8px;
    animation-delay: -0.4s;
}
.lds-grid div:nth-child(5) {
    top: 32px;
    left: 32px;
    animation-delay: -0.8s;
}
.lds-grid div:nth-child(6) {
    top: 32px;
    left: 56px;
    animation-delay: -1.2s;
}
.lds-grid div:nth-child(7) {
    top: 56px;
    left: 8px;
    animation-delay: -0.8s;
}
.lds-grid div:nth-child(8) {
    top: 56px;
    left: 32px;
    animation-delay: -1.2s;
}
.lds-grid div:nth-child(9) {
    top: 56px;
    left: 56px;
    animation-delay: -1.6s;
}
@keyframes lds-grid {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}
.message-intent {
    color: red;
    font-size: 12px;
    border-top: 3px;
    padding-top: 10px;
}