﻿#ai-assistant-wrap{
    position:fixed;
    bottom:24px;
    right:24px;
    z-index:9999;
    font-family:system-ui;
}
.ai-float-btn{
    width:54px;height:54px;
    background:#4263eb;
    color:white;
    border-radius:50%;
    text-align:center;
    line-height:54px;
    font-size:24px;
    cursor:pointer;
    box-shadow:0 3px 12px #0004;
}
.ai-panel{
    display:none;
    flex-direction:column;
    width:420px;
    height:600px;
    background:#fff;
    border-radius:12px;
    box-shadow:0 4px 20px #0003;
    overflow:hidden;
}
.ai-header{
    background:#4263eb;
    color:white;
    padding:12px 16px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}
.ai-close{
    background:transparent;
    border:none;
    color:white;
    font-size:20px;
    cursor:pointer;
}
.ai-content{
    flex:1;
    padding:12px;
    overflow-y:auto;
    background:#f8f9fa;
}
.msg{
    margin:8px 0;
    padding:10px 12px;
    border-radius:10px;
    max-width:85%;
}
.msg.user{
    background:#4263eb;
    color:white;
    margin-left:auto;
}
.msg.bot{
    background:#e9ecef;
    color:#222;
    margin-right:auto;
}
.ai-input-wrap{
    display:flex;
    gap:8px;
    padding:10px;
    border-top:1px solid #ddd;
}
.ai-input{
    flex:1;
    padding:8px 12px;
    border:1px solid #ccc;
    border-radius:6px;
}
.ai-send{
    padding:8px 16px;
    background:#4263eb;
    color:white;
    border:none;
    border-radius:6px;
    cursor:pointer;
}
table{
    font-size:13px;
}
th{
    background:#dee2e6;
}
