/* Loom Chatbot Styles */
.loom-chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 360px;
    max-height: 80vh;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    overflow: hidden;
    transition: all 0.3s ease;
}

.loom-chatbot-container.minimized {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
}

.loom-chatbot-header {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: #007bff;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

.loom-chatbot-container.minimized .loom-chatbot-header {
    width: 100%;
    height: 100%;
    justify-content: center;
    padding: 0;
}

.icon-container {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.icon-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.loom-chatbot-container.minimized .icon-container {
    margin-right: 0;
}

.header-title {
    flex-grow: 1;
}

.loom-chatbot-container.minimized .header-title,
.loom-chatbot-container.minimized .online-status,
.loom-chatbot-container.minimized .minimize-button {
    display: none;
}

.online-status {
    display: flex;
    align-items: center;
    font-size: 12px;
    margin-right: 10px;
}

.status-icon {
    width: 8px;
    height: 8px;
    background: #28a745;
    border-radius: 50%;
    margin-right: 5px;
}

.minimize-button {
    cursor: pointer;
    font-size: 20px;
}

.loom-chatbot-body {
    display: none;
    max-height: 400px;
    overflow-y: auto;
    padding: 15px;
    background: #f8f9fa;
}

.loom-chatbot-container.maximized .loom-chatbot-body {
    display: block;
}

.loom-chatbot-messages {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.user-message {
    align-self: flex-end;
    background: #007bff;
    color: #fff;
    padding: 10px;
    border-radius: 10px 10px 0 10px;
    max-width: 80%;
}

.bot-message {
    align-self: flex-start;
    background: #e9ecef;
    color: #333;
    padding: 10px;
    border-radius: 10px 10px 10px 0;
    max-width: 80%;
}

.loom-chatbot-loading {
    display: none;
    text-align: center;
    padding: 10px;
}

.loom-chatbot-loading img {
    width: 24px;
    height: 24px;
}

.loom-chatbot-footer {
    display: none;
    padding: 10px;
    border-top: 1px solid #dee2e6;
}

.loom-chatbot-container.maximized .loom-chatbot-footer {
    display: flex;
}

#loom-chatbot-input {
    flex-grow: 1;
    border: 1px solid #ced4da;
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 14px;
    outline: none;
}

#loom-chatbot-input:focus {
    border-color: #007bff;
}

#loom-chatbot-send {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 10px;
}

#loom-chatbot-send img {
    width: 24px;
    height: 24px;
}