/* ===== BODY ===== */
body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #0A2463, #0E4C92);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* ===== NAVBAR ===== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1c1c1c;
    padding: 14px 24px;
    color: #ffffff;
    font-family: 'Segoe UI', sans-serif;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 999;
}

.logo {
    font-size: 1.2rem;
    font-weight: bold;
}

.nav-right a {
    margin-left: 16px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    background-color: #00796b;
    padding: 8px 14px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.nav-right a:hover {
    background-color: #004d40;
}

/* ===== CHAT CONTAINER ===== */
.chat-container {
    width: 400px;
    height: 600px; 
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    overflow: hidden;
    border: 2px solid #E2F3FF;
    margin: 40px auto;
}

/* ===== HEADING ===== */
.heading {
    text-align: center;
    font-size: 24px; 
    font-weight: bold;
    padding: 15px 0;
    background-color: #007bff;
    color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== CHAT MESSAGES ===== */
.chat-messages {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: #E2F3FF;
    max-height: 450px; 
}

.message {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 8px;
    max-width: 80%;
    word-wrap: break-word;
}

.message.bot {
    background-color: #E6F7E8;
    color: #333333;
    align-self: flex-start;
}

.message.user {
    background-color: #007bff;
    color: white;
    align-self: flex-end;
}

/* ===== INPUT ===== */
.input-container {
    display: flex;
    border-top: 1px solid #ddd;
    padding: 10px;
    background: white; 
}

.input-container input {
    flex-grow: 1;
    padding: 15px;
    border: none;
    font-size: 16px;
    border-radius: 4px;
    outline: none;
}

.input-container button {
    padding: 15px;
    background-color: #007bff;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 4px;
    margin-left: 10px;
}

.input-container button:hover {
    background-color: #0056b3;
}

/* ===== DISCLAIMER ===== */
.disclaimer {
    font-size: 12px;
    color: #000;
    text-align: center;
    margin: 5px 0 10px;
}

/* ===== SCROLLBAR CUSTOMIZATION ===== */
.chat-messages::-webkit-scrollbar {
    width: 8px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 4px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}
/* ===== FOOTER ===== */
.footer {
    background-color: #1c1c1c;
    color: #ffffff;
    text-align: center;
    padding: 15px 10px;
    font-size: 14px;
    font-family: 'Segoe UI', sans-serif;
    margin-top: 20px;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.2);
}

.footer p {
    margin: 0;
    line-height: 1.5;
}
