.ai-mid {
    width: 700px;
    margin: 0 auto;
    margin-bottom: -35px;
    background: white;
    /*background: #f6f7f9;*/
    -webkit-border-bottom-left-radius: 15px;
    -moz-border-bottom-left-radius: 15px;
    border-bottom-left-radius: 15px;
    -webkit-border-bottom-right-radius: 15px;
    -moz-border-bottom-right-radius: 15px;
    border-bottom-right-radius: 15px;
}
.ai-mid-top {
    height: calc(100vh - 245px);
    overflow: hidden;
    overflow-y: auto;
    font-size: 14px;
}

.ai-mid-bottom {
    height: 100px;
}
.ai-mid-bottom-i{
    height: 100px;
    border: solid 1px #e1dae9;
    border-bottom: 0;
    border-right: 0;
    border-left: 0;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    background: white;
}
.ai-input-area{
    height: 37px;
    max-height: 37px;
    overflow: hidden;
    overflow-y: auto;
    padding: 15px;
    font-size: 16px;
    letter-spacing: 0.5px;
    color: #444444;
}
.ai-input-area[contenteditable="true"]:empty::before {
    content: attr(data-placeholder);
    color: #666666;
    pointer-events: none;
}
.ai-send-btn{
    width: 30px;
    height: 30px;
    line-height: 30px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    background: #888888;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    cursor: pointer;
}
.ai-send-btn:hover{
    background: #666666;
}
.ai-send-btn .icon-white{
    color: white;
}
.icons8-dots-loading {
    width: 30px;
    height: 30px;
    background-image: url("../../../images/v1/icons8-dots-loading.gif");
    background-repeat: no-repeat;
    background-position: 0 0;
}
.ai-mid-result-area .ai-res-line{
    margin-bottom: 20px;
}
.ai-req-area{
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}
.ai-req-text{
    padding: 3px 10px;
    background: #eeeeee;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    display: inline-block;
}

.ai-voice-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    margin-right: 10px;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.ai-voice-btn:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}

.ai-voice-btn.listening {
    background-color: #ff4444 !important;
    box-shadow: 0 0 20px rgba(255, 68, 68, 0.6);
}

.ai-voice-btn svg {
    width: 20px;
    height: 20px;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}