/* Wrapper & Floating Button */
#school-chatbot-wrapper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999999;
    font-family: Arial, sans-serif;
}

#chatbot-toggle-btn {
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s;
}

#chatbot-toggle-btn:hover {
    transform: scale(1.05);
}

/* Chatbot Window */
#chatbot-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 320px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    overflow: hidden;
    border: 1px solid #ddd;
}

.chatbot-header {
    background: #0073aa;
    color: #fff;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h4 {
    margin: 0;
    font-size: 16px;
}

#chatbot-close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.chatbot-body {
    max-height: 400px;
    overflow-y: auto;
    padding: 15px;
    background: #f9f9f9;
}

.chatbot-welcome {
    font-size: 14px;
    margin-top: 0;
    color: #555;
}

/* Q&A Accordion */
.qa-item {
    margin-bottom: 10px;
    background: #fff;
    border-radius: 5px;
    border: 1px solid #eee;
}

.qa-question {
    width: 100%;
    background: #f1f1f1;
    border: none;
    padding: 10px;
    text-align: left;
    font-weight: bold;
    cursor: pointer;
    font-size: 13px;
    border-radius: 5px;
}

.qa-question:hover {
    background: #e5e5e5;
}

.qa-answer {
    display: none;
    padding: 10px;
    font-size: 13px;
    color: #444;
}

.qa-answer p {
    margin: 0 0 10px 0;
}

/* Contact Form */
.chatbot-contact-form {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.chatbot-contact-form h5 {
    margin: 0 0 10px 0;
    font-size: 14px;
}

.chatbot-contact-form input,
.chatbot-contact-form textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: inherit;
}

.chatbot-contact-form textarea {
    resize: vertical;
    min-height: 60px;
}

#chatbot-submit {
    width: 100%;
    background: #28a745;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

#chatbot-submit:hover {
    background: #218838;
}

#chatbot-feedback {
    margin-top: 10px;
    font-size: 13px;
    text-align: center;
}