/* Widget Assistant Styles for UniShop2 */
#cu-assistant-btn {
    position: fixed;
    bottom: 90px;
    right: 25px;
    z-index: 99999;
    background: linear-gradient(135deg, #101E65 0%, #08B438 100%);
    color: #fff;
    padding: 12px 18px;
    border-radius: 30px;
    box-shadow: 0 6px 20px rgba(16, 30, 101, 0.35);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.25s ease;
}
#cu-assistant-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(8, 180, 56, 0.45);
}
#cu-assistant-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}
#cu-assistant-modal {
    display: none;
    position: fixed;
    bottom: 95px;
    right: 25px;
    width: 420px;
    max-width: calc(100vw - 30px);
    height: 620px;
    max-height: calc(100vh - 110px);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
    z-index: 100000;
    flex-direction: column;
    overflow: hidden;
    font-family: inherit;
    border: 1px solid #e2e8f0;
}
.cu-chat-header {
    background: #101E65;
    color: #fff;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cu-chat-header-title {
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cu-chat-header-status {
    font-size: 11px;
    color: #4ade80;
    display: flex;
    align-items: center;
    gap: 4px;
}
.cu-chat-header-status::before {
    content: '';
    width: 7px;
    height: 7px;
    background: #4ade80;
    border-radius: 50%;
    display: inline-block;
}
.cu-chat-close {
    background: none;
    border: none;
    color: #cbd5e1;
    font-size: 20px;
    cursor: pointer;
    padding: 0 4px;
}
.cu-chat-close:hover {
    color: #fff;
}
.cu-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cu-msg {
    max-width: 88%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13.5px;
    line-height: 1.45;
}
.cu-msg-bot {
    align-self: flex-start;
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    border-bottom-left-radius: 2px;
}
.cu-msg-user {
    align-self: flex-end;
    background: #101E65;
    color: #ffffff;
    border-bottom-right-radius: 2px;
}
.cu-product-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px;
    margin-top: 8px;
    display: flex;
    gap: 10px;
    align-items: center;
}
.cu-product-img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    background: #fff;
}
.cu-product-info {
    flex: 1;
    font-size: 12px;
}
.cu-product-title {
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cu-product-price {
    font-size: 14px;
    font-weight: 700;
    color: #08B438;
    margin-top: 4px;
}
.cu-product-status {
    font-size: 11px;
    color: #64748b;
}
.cu-chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}
.cu-suggestion-chip {
    background: #e2e8f0;
    color: #1e293b;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 14px;
    cursor: pointer;
    transition: background 0.2s;
}
.cu-suggestion-chip:hover {
    background: #cbd5e1;
}
.cu-cta-btn {
    display: inline-block;
    background: #08B438;
    color: #fff !important;
    text-decoration: none !important;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 600;
    margin-top: 6px;
    text-align: center;
}
.cu-cta-btn:hover {
    background: #069a2f;
}
.cu-chat-footer {
    padding: 10px 12px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 8px;
}
.cu-chat-input {
    flex: 1;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 13.5px;
    outline: none;
}
.cu-chat-input:focus {
    border-color: #08B438;
}
.cu-chat-send {
    background: #101E65;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cu-chat-send:hover {
    background: #08B438;
}
