.agentBox {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100000;
    background: rgba(0 0 0 / 50%);
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
}

.agentBox.active {
    opacity: 1;
    visibility: visible; 
}

.agentApp_cen {
    width: 90%;
    max-width: 950px;
    position: absolute;
    left: 50%;
    top: 55%;
    transform: translate(-50%, -50%);
}

.agenTop {
    height: 60px;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 30px;
    background-image: url(/static/en/img/bj6.jpg);
    background-size: cover;
}

.agenTop_t {
    font-weight: bold;
    font-size: 24px;
    color: #FFFFFF;
    text-align: left;
    line-height: 1;
}

.agenTop_close {
    width: 34px;
    height: 34px;
    background-image: url(/static/en/img/znt04.png);
    margin-left: auto;
    cursor: pointer;
}

.agenBot {
    width: 100%;
    overflow: hidden;
    background: #F0F9FF;
}

.agen_dialog {
    width: 100%;
    padding: 2.6vw 2.3vw 15px;
    height: 380px;
    overflow: auto;
}

.dialog_li {
    width: 100%;
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.dialog_lr {
    width: 47px;
    height: 47px;
    overflow: hidden;
    border-radius: 50%;
    background:var(--yx_Color);
}
.dialog1 .dialog_lr{
    display:flex;
    justify-content: center;
    align-items: center;
}
.dialog1 .dialog_lr img{
    width:30px;
    height:auto;
}
.dialog_lr img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dialog_ri {
    flex:1;
    max-width: fit-content;
}

.dialog0 .dialog_ri{
    margin-left: 6px;
}

.dialog1 .dialog_ri{
    margin-right: 6px;
}

.dialog0{
    flex-direction: row-reverse;
}

.dialog0 .dialog_text{
    text-align:right;
    padding: 10px 25px;
    background: #FFFFFF;
    border-radius: 0px 100px 100px 100px;
}

.dialog1 .dialog_text{
    padding: 10px 25px;
    box-sizing: border-box;
    min-height:42px;
    background: #C8DEFD;
    border-radius: 25px 0 25px 25px;
    min-width: 175px;
}

.dialog_time {
    line-height: 1;
    color: #999;
    margin-left: 25px;
    margin-top: 6px;
    font-size: 14px;
}

/* 整个滚动条 */
.agen_dialog::-webkit-scrollbar {
  width: 4px; /* 垂直滚动条宽度 */
}

/* 滚动条轨道 */
.agen_dialog::-webkit-scrollbar-track {
  background-color: #F0F9FF;
  border-radius: 2px;
}

/* 滚动条滑块 */
.agen_dialog::-webkit-scrollbar-thumb {
  background: #2565C5;
  border-radius: 2px;
}

/* 滑块悬停效果 */
.agen_dialog::-webkit-scrollbar-thumb:hover {
  background: #2565C5;
}

.Topic {
    padding: 20px 2.3vw 2vw;
    width: 100%;
}

.Topic_but {
    background: transparent;
    border-radius: 6px;
    border: 1px solid #D9D9D9;
    width: 96px;
    height: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.Topic_but span {
    font-size: 12px;
    line-height: 1;
    color: #747474;
    text-align: left;
    padding-left: 17px;
    background-image: url(/static/en/img/znt05.png);
    background-repeat: no-repeat;
    background-position: left center;
}

.Topic_but:hover {
    background-color: #eceaff;
}

.Topic_input {
    width: 100%;
    position: relative;
    margin-top: 20px;
}

.ant-input {
    background: #FFFFFF;
    border-radius: 10px 10px 10px 10px;
    width: 100%;
    border: none;
    line-height: 2;
    padding: 20px;
    font-size: 12px;
    height: 64px;
    color: #333;
}

.app_submit {
    position: absolute;
    right: 20px;
    top: 19px;
    z-index: 10;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.app_submit img{
    width: auto;
    max-width: 100%;
}

@media only screen and (max-width: 769px) {
    .agenTop{
        padding: 0 20px;
    }
    
    .agenTop_t{
        font-size: 20px;
    }
    
    .dialog_text{
        font-size: 12px;   
    }
    
    .dialog_lr{
            width: 40px;
    height: 40px;
    }
    
    .dialog_li{
        margin-bottom: 15px;
    }
    
    .dialog_time{
        font-size: 12px;
    }
}











