/* css/chat.css */
#chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #0772ec;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: opacity 0.3s;
}
#chat-button svg {
    width: 24px;
    height: 24px;
    fill: white;
}
#chat-modal {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 380px;
    height: 600px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: none;
    flex-direction: column;
    z-index: 1001;
    overflow: hidden;
}
@media (max-width: 768px) {
    #chat-modal {
        width: 95vw;
        height: 90vh;
        bottom: 10px;
        right: 10px;
    }
}
#chat-header {
    background-color: #300dad;
    color: white;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px 10px 0 0;
}
#chat-header .back-button {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}
#chat-header .profile {
    display: flex;
    align-items: center;
}
#chat-header .profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}
#chat-header .name {
    font-weight: bold;
}
#chat-header .close-button {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}
#chat-body {
    flex: 1;
    background-color: white;
    overflow: hidden;
}
#chat-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}
