#app-root-xopdas1 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*#app-root-xopdas1 html,*/
/*#app-root-xopdas1 body {*/
/*     width: 100vw;*/
/*     height: 100vh;*/
/* }*/

#app-root-xopdas1 iframe {
    width: 100vw;
    height: 100%;
    border: none;
    overflow: hidden;
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 3000;
    transform: translateY(99%);
    opacity: 0;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), 
    opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

#app-root-xopdas1 iframe.show-chatFrame {
    transform: translateY(0);
    opacity: 1;
}

/* 添加加载动画样式 */
#app-root-xopdas1 .loading-spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3001;
    display: none;
}

#app-root-xopdas1 .loading-spinner .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#app-root-xopdas1 #chat_icon {
    position: fixed;
    box-sizing: border-box;
    height: 45px;
    padding: 0;
    right: 20px;
    bottom: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    background-color: #1595ff;
    color: white;
    padding: 12px 22px;
    border-radius: 23.5px;
    z-index: 3001;
    font-weight: 300;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease;
}

#app-root-xopdas1 #chat_icon:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

#app-root-xopdas1 .chat-list-unReadNum {
    font-weight: 400;
    position: absolute;
    top: -9px;
    right: -11px;
    background-color: rgb(255, 39, 39);
    border-radius: 10px;
    color: white;
    font-size: 13.36px;
    padding: 1px 4px;
    min-width: 20px;
    width: fit-content;
    height: 20px;
    line-height: 20px;
    text-align: center;
    box-sizing: content-box;
}

#app-root-xopdas1 .chat-list-unReadNum2 {
    font-weight: 400;
    position: absolute;
    top: -9px;
    right: -11px;
    background-color: rgb(255, 39, 39);
    border-radius: 10px;
    color: white;
    font-size: 13.36px;
    padding: 1px 4px;
    min-width: 20px;
    width: fit-content;
    height: 20px;
    line-height: 20px;
    text-align: center;
    box-sizing: content-box;
}

#app-root-xopdas1 #chat_icon span {
    color: white;
}

#app-root-xopdas1 #chat_icon span:last-child {
    margin-left: 6.4px;
    font-size: 18px;
}


#app-root-xopdas1 .icon-liaotianjilu1 {
    font-size: 20px;
}

#app-root-xopdas1 .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 2999;
    opacity: 0;
    transition: opacity 0.2s ease;
}

#app-root-xopdas1 .overlay.show-overlay {
    opacity: 1;
}

/* 手机端 */
@media (max-width: 768px) {
    #app-root-xopdas1 .modal-popup {
        min-width: 20vw;
        max-width: 90%;
        min-height: 20vh;
        max-height: 80vh;
    }
}

/* 电脑端 */
@media (min-width: 768px) {
    #app-root-xopdas1 .modal-popup {
        min-width: 20vw;
        max-width: 90%;
        min-height: 20vh;
        max-height: 60%;
    }
}

#app-root-xopdas1 .modal-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 3002;
    display: none;
    overflow: hidden;
    width: 90%;
    max-width: 500px;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

#app-root-xopdas1 .modal-header-1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

#app-root-xopdas1 .modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

#app-root-xopdas1 .modal-close {
    cursor: pointer;
    font-size: 24px;
    color: #6c757d;
    border: none;
    background: none;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

#app-root-xopdas1 .modal-close:hover {
    background-color: #e9ecef;
    color: #495057;
}

#app-root-xopdas1 .modal-body {
    padding: 20px;
    color: #495057;
    line-height: 1.6;
    max-height: 60vh;
    font-size: 15px;
    overflow-y: auto;
}

#app-root-xopdas1 .modal-body::-webkit-scrollbar {
    width: 6px;
}

#app-root-xopdas1 .modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

#app-root-xopdas1 .modal-body::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

#app-root-xopdas1 .modal-body::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

@media (max-width: 768px) {
    #app-root-xopdas1 .modal-popup {
        width: 95%;
        margin: 0;
    }

    #app-root-xopdas1 .modal-header-1 {
        padding: 12px 16px;
    }

    #app-root-xopdas1 .modal-body {
        padding: 16px;
        font-size: 15px;
    }
}