#woo-ai-agent {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999999;
    font-family: Arial, sans-serif;
}

#woo-ai-toggle {
    width: 60px;
    height: 60px;
    border: 0;
    border-radius: 50%;
    background: #111827;
    color: #ffffff;
    font-size: 25px;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

#woo-ai-window {
    width: 370px;
    height: 540px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}

#woo-ai-window[hidden] {
    display: none;
}

.woo-ai-header {
    background: #111827;
    color: #ffffff;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.woo-ai-header strong {
    display: block;
    font-size: 16px;
}

.woo-ai-header span {
    display: block;
    margin-top: 3px;
    font-size: 11px;
    opacity: 0.7;
}

.woo-ai-header button {
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 25px;
    cursor: pointer;
}

#woo-ai-messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background: #f8fafc;
}

.woo-ai-message {
    max-width: 84%;
    margin: 8px 0;
    padding: 11px 13px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.woo-ai-message.assistant {
    background: #ffffff;
    border: 1px solid #e5e7eb;
}

.woo-ai-message.user {
    margin-left: auto;
    background: #111827;
    color: #ffffff;
}

.woo-ai-message a {
    text-decoration: underline;
}

.woo-ai-quick {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding: 9px;
    border-top: 1px solid #e5e7eb;
    background: #ffffff;
}

.woo-ai-quick button {
    white-space: nowrap;
    border: 1px solid #d1d5db;
    background: #ffffff;
    border-radius: 20px;
    padding: 7px 11px;
    cursor: pointer;
    font-size: 12px;
}

#woo-ai-form {
    display: flex;
    border-top: 1px solid #e5e7eb;
    background: #ffffff;
}

#woo-ai-input {
    flex: 1;
    border: 0;
    outline: none;
    padding: 15px;
    font-size: 14px;
}

#woo-ai-form button {
    width: 55px;
    border: 0;
    background: #111827;
    color: #ffffff;
    cursor: pointer;
    font-size: 18px;
}

@media (max-width: 480px) {

    #woo-ai-agent {
        right: 12px;
        bottom: 12px;
    }

    #woo-ai-window {
        width: calc(100vw - 24px);
        height: 70vh;
    }

}