#harold-chat-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

#harold-chat-bubble {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, hsl(221, 83%, 53%), hsl(262, 83%, 58%));
    border: none;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#harold-chat-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

#harold-chat-bubble.hidden {
    display: none;
}

#harold-chat-widget {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

#harold-chat-widget.active {
    display: flex;
}

#harold-chat-header {
    background: linear-gradient(135deg, hsl(221, 83%, 53%), hsl(262, 83%, 58%));
    color: white;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#harold-chat-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

#harold-chat-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
}

#harold-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    background: hsl(220, 14%, 96%);
}

.harold-message {
    margin-bottom: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    max-width: 80%;
    word-wrap: break-word;
}

.harold-message.user {
    background: hsl(221, 83%, 53%);
    color: white;
    margin-left: auto;
    text-align: right;
}

.harold-message.bot {
    background: white;
    color: hsl(222, 47%, 11%);
    margin-right: auto;
}

#harold-chat-input-container {
    display: flex;
    padding: 16px;
    background: white;
    border-top: 1px solid hsl(220, 13%, 91%);
}

#harold-chat-input {
    flex: 1;
    padding: 10px;
    border: 1px solid hsl(220, 13%, 91%);
    border-radius: 6px;
    font-size: 14px;
}

#harold-chat-input:focus {
    outline: none;
    border-color: hsl(221, 83%, 53%);
}

#harold-chat-send {
    margin-left: 8px;
    padding: 10px 20px;
    background: hsl(221, 83%, 53%);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

#harold-chat-send:hover {
    background: hsl(221, 83%, 48%);
}
