#claire-bot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    height: 400px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
}

#claire-bot-header {
    padding: 10px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #ddd;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#claire-bot-close {
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    transition: background-color 0.3s ease;
}

#claire-bot-close:hover {
    background-color: #c82333;
}

#claire-bot-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px;
}

#claire-bot-input-container {
    padding: 10px;
    border-top: 1px solid #ddd;
    display: flex;
}

#claire-bot-input {
    flex-grow: 1;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#claire-bot-send {
    margin-left: 5px;
    padding: 5px 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.claire-bot-message {
    margin-bottom: 10px;
    word-wrap: break-word;
}

.usermsg {
    text-align: right;
}

.botmsg {
    text-align: left;
}

#claire-bot-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #007bff;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 9998;
}

.disclaimer {
    font-size: 10px;
    color: #999;
    text-align: center;
    margin-top: 10px;
}

#claire-bot-loader {
    display: inline-block;
    min-width: 24px;
}

@keyframes ellipsis {
    0% { content: '.'; }
    33% { content: '..'; }
    66% { content: '...'; }
}

#claire-bot-loader::after {
    content: '.';
    display: inline-block;
    width: 24px;
    animation: ellipsis 1s infinite steps(3);
    overflow: hidden;
    vertical-align: bottom;
}