#waslleh-ai-box {
    max-width: 900px;
    margin: 30px auto;
    padding: 20px 20px 14px;
    border-radius: 26px;
    background: radial-gradient(circle at top left, #111827, #020817);
    color: #e5e7eb;
    box-shadow: 0 18px 60px rgba(15,23,42,0.9);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    border: 1px solid rgba(148,163,253,0.18);
}
.waslleh-ai-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #f97316;
}
.waslleh-ai-header .bot-icon {
    font-size: 22px;
}
.waslleh-ai-subtitle {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 12px;
}
#waslleh-ai-messages {
    max-height: 480px;
    overflow-y: auto;
    padding: 12px;
    background: rgba(2,6,23,0.98);
    border-radius: 18px;
    margin-bottom: 10px;
    border: 1px solid rgba(75,85,99,0.5);
}

/* Chat bubbles */
.waslleh-ai-msg {
    margin-bottom: 8px;
    line-height: 1.6;
    font-size: 14px;
    max-width: 92%;
}
.waslleh-ai-msg.user {
    margin-left: auto;
    text-align: right;
    background: linear-gradient(to left, #38bdf8, #0f172a);
    padding: 8px 11px;
    border-radius: 16px 4px 16px 16px;
    color: #e5e7eb;
}
.waslleh-ai-msg.assistant {
    margin-right: auto;
    text-align: left;
    background: #020817;
    padding: 8px 11px;
    border-radius: 4px 16px 16px 16px;
    color: #e5e7eb;
    border: 1px solid rgba(75,85,99,0.7);
}

#waslleh-ai-input-wrap {
    display: flex;
    gap: 10px;
    margin-bottom: 4px;
    margin-top: 2px;
}
#waslleh-ai-input {
    flex: 1;
    padding: 10px 12px;
    border-radius: 18px;
    border: 1px solid rgba(75,85,99,0.9);
    resize: vertical;
    min-height: 55px;
    max-height: 150px;
    background: #020817;
    color: #f9fafb;
    font-size: 14px;
}
#waslleh-ai-input::placeholder {
    color: #6b7280;
}
#waslleh-ai-input:focus {
    outline: none;
    border-color: #38bdf8;
    box-shadow: 0 0 0 1px rgba(56,189,248,0.18);
}
#waslleh-ai-send {
    padding: 0 18px;
    border: none;
    border-radius: 18px;
    cursor: pointer;
    background: #f97316;
    color: #111827;
    font-weight: 700;
    font-size: 14px;
    min-width: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.18s ease-in-out;
}
#waslleh-ai-send:hover {
    background: #fb923c;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(249,115,22,0.35);
}

.waslleh-ai-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 4px;
}
#waslleh-ai-clear {
    padding: 4px 10px;
    font-size: 11px;
    border-radius: 999px;
    border: 1px solid rgba(75,85,99,0.9);
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.18s ease-in-out;
}
#waslleh-ai-clear:hover {
    color: #f97316;
    border-color: #f97316;
}

#waslleh-ai-loading {
    font-size: 12px;
    color: #9ca3af;
    margin-right: 4px;
}

/* Product cards */
.waslleh-ai-products {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}
.waslleh-ai-product {
    background: #020817;
    border-radius: 14px;
    padding: 6px;
    width: 180px;
    font-size: 11px;
    border: 1px solid rgba(75,85,99,0.9);
    box-shadow: 0 8px 18px rgba(15,23,42,0.7);
}
.waslleh-ai-product img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 4px;
}
.waslleh-ai-product .name {
    font-weight: 600;
    color: #e5e7eb;
    margin-bottom: 2px;
}
.waslleh-ai-product .price {
    font-weight: 600;
    color: #22c55e;
    margin-bottom: 2px;
}
.waslleh-ai-product .note {
    font-size: 10px;
    color: #9ca3af;
}
.waslleh-ai-product a {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 3px;
}
.waslleh-ai-product a:hover {
    text-decoration: underline;
}
