#thndrcircle-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#thndr-chat-button {
    width: 60px;
    height: 60px;
    background-color: var(--thndr-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

#thndr-chat-button:hover {
    transform: scale(1.1);
}

#thndr-chat-button img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

#thndr-chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#thndr-chat-header {
    background-color: var(--thndr-color);
    color: #fff;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

#thndr-close-chat {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

#thndr-chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f9f9f9;
}

.thndr-msg {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 8px;
    max-width: 80%;
}

.thndr-msg.user {
    background: var(--thndr-color);
    color: #fff;
    align-self: flex-end;
    margin-left: auto;
}

.thndr-msg.bot {
    background: #e9e9eb;
    color: #333;
}

#thndr-chat-input-area {
    padding: 10px;
    border-top: 1px solid #eee;
    display: flex;
}

#thndr-user-input {
    flex: 1;
    border: 1px solid #ddd;
    padding: 8px;
    border-radius: 4px;
    outline: none;
}

#thndr-send-btn {
    background: var(--thndr-color);
    color: #fff;
    border: none;
    padding: 8px 15px;
    margin-left: 5px;
    border-radius: 4px;
    cursor: pointer;
}

#thndr-chat-footer {
    font-size: 10px;
    text-align: center;
    padding: 5px;
    color: #999;
    background: #fff;
}

#thndr-chat-footer a {
    color: var(--thndr-color);
    text-decoration: none;
}

.thndr-actions {
    display: flex;
    gap: 5px;
    margin-top: 10px;
}

.thndr-btn {
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid var(--thndr-color);
    background: #fff;
    color: var(--thndr-color);
    cursor: pointer;
    font-size: 12px;
}

.thndr-btn:hover {
    background: var(--thndr-color);
    color: #fff;
}
