/* ===============================
   YUKTI CHATBOT - SHARED CSS
   (Same design for all 3 panels: public / student / teacher)
   =============================== */

.chatbot-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: #5E7D2B;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(94,125,43,.30);
    z-index: 9999;
}

.chatbot-box {
    position: fixed;
    bottom: 42px;
    right: 25px;
    width: 340px;
    max-width: 90vw;
    height: 430px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(94,125,43,.20);
    overflow: hidden;
    display: none;
    z-index: 9999;
}

.chat-header {
    background: #5E7D2B;
    color: white;
    padding: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h5 {
    margin: 0;
    font-size: 17px;
    color: white;
}

.chat-header .online {
    color: #F7931A;
    font-size: 13px;
}

.chat-body {
    height: 300px;
    padding: 15px 15px 35px 15px;
    overflow-y: auto;
}

.bot-message {
    background: #F5F9EF;
    padding: 12px;
    border-radius: 12px;
    width: 85%;
    font-size: 14px;
    margin-bottom: 10px;
}

.user-message {
    background: #5E7D2B;
    color: white;
    padding: 10px;
    border-radius: 12px;
    width: 80%;
    margin-left: auto;
    margin-bottom: 10px;
    font-size: 14px;
}

.chat-buttons button {
    border: 1px solid #5E7D2B;
    background: white;
    color: #5E7D2B;
    border-radius: 20px;
    padding: 7px 15px;
    margin: 4px 4px 0 0;
    cursor: pointer;
    font-size: 13px;
}

.chat-buttons button:hover {
    background: #5E7D2B;
    color: white;
}

.chat-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 12px;
    border-top: 1px solid #ddd;
    display: flex;
    gap: 8px;
    background: white;
    box-sizing: border-box;
}

.chat-footer input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 10px 15px;
}

.chat-footer input:focus {
    border-color: #5E7D2B;
    box-shadow: 0 0 0 .2rem rgba(94,125,43,.12);
    outline: none;
}

.sendbtn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: #5E7D2B;
    color: white;
    flex-shrink: 0;
}
