/* Chatbox Container */
.chatbot-box {
    width: 330px;
    height: 450px;
    background: white;
    border-radius: 12px;
    position: fixed;
    bottom: 120px;
    right: 20px;
    display: none;
    flex-direction: column;
    box-shadow: 0 0 15px #0004;
    border: 2px solid #002147;
    z-index: 999999;
}

/* Header full design */
.chatbot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #002147;
    color: white;
     font-weight: bold;
    font-size: 21px;
    padding: 10px 15px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* Left side (logo + title) perfect alignment */
.chatbot-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Logo size fix */
.chatbot-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

/* Close button perfect right-center */
.close-btn {
    width: 25px;
    height: 25px;
    border-radius: 30%;
    background: white;
    color: #002147;
    font-weight: bold;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
}

.close-btn:hover {
    background: red;
    color: white;
}





/* Chat Area */
.chat-area {
    flex: 1;
    padding: 12px;
    overflow-y: auto;
    background: #f5f6fa;
}

/* Messages */
.user-msg, .bot-msg {
    padding: 10px 12px;
    margin: 10px 0;
    max-width: 80%;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
}

.user-msg {
    background: #002147;
    color: white;
    margin-left: auto;
}

.bot-msg {
    background: #e9ecef;
    color: black;
    margin-right: auto;
}

/* Input Box */
.chat-input {
    display: flex;
    padding: 10px;
    gap: 5px;
    background: #fff;
    border-top: 1px solid #ccc;
}

.chat-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #aaa;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
}

.chat-input button {
    width: 50px;
    border: none;
    background: #002147;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 19px;
    font-weight: bold;
}
 /* Mobile Responsive Fix */
@media (max-width: 768px) {
    .chat-icon {
        bottom: 10px !important;
        right: 10px !important;
        transform: scale(0.85); /* chhota bhi ho jayega */
    }

