html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}
/* Hide scrollbars on Windows IE/Edge */
body {
    -ms-overflow-style: -ms-autohiding-scrollbar;
}
    
/* ==========================
    CHAT WRAPPER
    ========================== */
.chat-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ==========================
    CHAT HEADER (Top Bar)
    ========================== */
.chat-header {
    background-color: #0c185f; /* Dark blue gradient or solid */
    color: #fff;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.chat-header .chat-title {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
}
.chat-header .chat-title i {
    margin-right: 8px;
    font-size: 18px;
}

/* If you want minimize/maximize icons on the right, style them here */
.chat-actions {
    display: flex;
    gap: 8px;
}
.chat-action-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

/* ==========================
    CHAT MESSAGES AREA
    ========================== */
.chat-box {
    flex: 1;               /* Take remaining vertical space */
    padding: 10px;         /* Some spacing around messages */
    overflow-y: auto;      /* Scroll when content too tall */
}
.message {
    margin: 8px 0;
    padding: 8px 12px;
    border-radius: 20px;
    max-width: 80%;
    word-wrap: break-word;
    display: inline-block;
    clear: both; /* Force each message to start below the previous float */
    white-space: pre-wrap;
    font-size: 14px;
    line-height: 1.5;
}
/* Bot messages on left (lighter background) */
.bot-message {
    background-color: #EBEFF5;
    color: #000;
    float: left;
    margin: 0;
}
.bot-message p {
    margin: 2px;
}
.user-message {
    background-color: #253167;
    color: #fff;
    float: right;
}

/* ==========================
    INPUT AREA
    ========================== */
.input-container {
    display: flex;
    align-items: center;
    margin: 8px;
    border: 1px solid #243167;
    border-radius: 5px;
    padding: 0px;
}
#user-input {
    flex: 1;
    resize: none;
    border: none;
    border-radius: 5px;
    padding: 5px;
    font-size: 14px;
    font-family: Arial, sans-serif;
    height: 32px;
    overflow-y: auto;
}
#user-input:focus {
    border:none;
    outline: none;
}
#send-button {
    margin-left: 0;
    padding: 0;
    width: 42px;
    height: 42px;
    border: none;
    background-color: white;
    color: black;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
#send-button i {
    color: #253167;
    font-size: 26px;
}
#send-button:hover i {
    color: #3A85C5;
}

/* ==========================
    FEEDBACK ICONS
    ========================== */
.feedback-container {
    display: none;
}

/* ==========================
    SCROLLBAR STYLING (optional)
    ========================== */
::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background-color: #c2c2c2;
    border-radius: 10px;
    border: 3px solid #f0f0f0;
}
::-webkit-scrollbar-thumb:hover {
    background-color: #125aa7;
}

/* Responsive tweak for narrow screens */
@media (max-width: 500px) {
    .chat-container {
        width: 100%;
        height: 100vh;
        border-radius: 0;
        }
}