body {
    font-family: 'Inter', sans-serif;
}

#chatbot-container {
    position: fixed;
    bottom: 40px;
    right: 25px;
    width: 350px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    transition: height 0.3s ease;
    overflow: hidden;
    z-index: 9999; 
}

#send-button {
    background-color: #18479f;
    border: none;
    border-radius: 5px;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#send-button svg {
    width: 24px;
    height: 24px;
}

.custom-input {
    width: 70%;
    padding: 12px;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 12px;
    outline: none;
}

.custom-input::placeholder {
    color: #999;
}

.custom-input:focus {
    border-color: #18479f;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.chatbot-closed {
    display: none;
}

.chatbot-open {
    height: 400px;
}

.chatbot-toggle {
    cursor: pointer;
    position: fixed;
    bottom: 80px;
    right: 80px;
    z-index: 9999; 
}

.chatbot-toggle img {
    width: 50px;
    height: 50px;
}

.chatbot-content {
    display: none;
}

.chatbot-open .chatbot-content {
    display: flex;
    flex-direction: column;
    height: 300px;
}

.chatbot-toggle-closed {
    display: none;
}

.chatbot-toggle:hover {
    transform: scale(1.2);
}

.header {
    display: flex;
    flex: 1;
    align-items: center;
    padding: 20px;
    background-color: #18479f;
    color: #fff;
    font-size: 18px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    z-index: 9999; 
}

.header .logo {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.messages-container {
    display: flex;
    align-self: flex-start;
    flex-direction: column;
    flex: 1;
    max-height: 80%;
    min-height: 80%;
    overflow-y: auto;
    padding: 10px;
}

.message {
    font-size: 14px;
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
}

.message.user {
    background-color: #18479f;
    color: #fff;
    text-align: right;
    align-self: flex-end;
}

.message.bot {
    align-self: flex-start;
    background-color: #f2f2f2;
}

.input-container {
    align-self: flex-end;
    width: 95%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-top: 1px solid #ccc;
}

.typing-indicator {
    display: flex;
    align-items: center;
}

.typing-indicator div {
    width: 8px;
    height: 8px;
    margin: 0 2px;
    background-color: #999;
    border-radius: 50%;
    animation: typing 1s infinite;
}

@keyframes typing {
    0% {
        opacity: 0.2;
    }
    20% {
        opacity: 1;
    }
    100% {
        opacity: 0.2;
    }
}

.minimize-icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
    margin-left: auto;
    fill: #fff;
}

.minimize-icon:hover{
    transform: scale(1.2)
}