body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #FFFFFF;
}

#app {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 3rem;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 25vh;
    background:
        linear-gradient(
            180deg,
            rgba(0, 123, 255, 0.8) 0%,
            rgba(0, 123, 255, 0.4) 50%,
            rgb(255, 255, 255) 100%
        ),
        url('../images/background2.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.nav-link.active {
    text-decoration: underline;
    text-underline-offset: 5px;
    font-weight: bold;
}

.modal {
    z-index: 1055 !important;
}

.modal-backdrop {
    z-index: 1045 !important;
}

.chat-container {
    display: flex;
    flex-direction: column;
    height: 80vh;
    max-width: 800px;
    margin: auto;
    background: #CBDEFF;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 20px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
}

.message.user {
    background-color: #007bff !important;
    color: white !important;
    align-self: flex-end;
}

.message.bot {
    background-color: gold !important;
    color: black !important;
    align-self: flex-start;
}

.chat-input {
    display: flex;
    padding: 10px;
    background: #CBDEFF;
    border-top: 1px solid #ccc;
    width: 100%;
}

#chatInput {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 25px;
    background: white;
    outline: none;
    font-size: 16px;
}

button.btn-chatbot {
    padding: 12px 15px;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    margin-left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

button.btn-chatbot:hover {
    background-color: #0056b3;
}

#mainNavbar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#chatbot-toggle button {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    background-color: #0d6efd;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

#chatbot-toggle button:hover {
    background-color: #0b5ed7;
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.4);
    transform: translateY(-2px);
}

#chatbot-toggle {
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-bubble {
    padding: 10px 15px;
    border-radius: 20px;
    max-width: 80%;
    word-wrap: break-word;
    font-size: small;
}

.bot-message {
    background-color: #f1f1f1;
    color: #333;
    border-top-left-radius: 0;
}

.user-message {
    background-color: #0d6efd;
    color: white;
    border-top-right-radius: 0;
}

