﻿* {
    box-sizing: border-box;
}

body {
    padding: 0;
    margin: 0;
    min-width: 940px;
}

body, input, table {
    font-size: 14px;
}


header {
    padding: 0.7% 2%;
    margin: 0;
    background: #d3c0ff;
    color: #222;
}

    header h1 {
        margin: 0;
        letter-spacing: 2px;
    }

.main-container {
    display: grid;
    flex: 1;
    grid-template-columns: 200px auto;
}

aside {
    background: #efe8ff;
    overflow-y: auto;
    padding-top: 50px;
    min-height: 800px;
    font-size:17px;
}

    aside ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
    }

        aside ul li {
            padding: 0;
            margin: 10px;
        }

            aside ul li a {
                padding: 10px 6px 10px 30px;
                display: block;
                border-radius:3px;
            }

            aside ul li:hover a {
                outline: 1px solid #d3c0ff;
                
            }

            aside ul li.selected a {
                background: #d3c0ff;
                font-weight: bold;
                color: #000;
                
            }



main {
    padding: 2%;
}




.main-container h1 {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(0,130,218,0.5);
    padding-bottom: 10px;
    color: rgba(0,130,218,1);
}

.main-container .card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.12);
    padding: 25px;
    margin-bottom: 25px;
}

.main-container .conversion-type {
    margin-bottom: 20px;
}

    .main-container .conversion-type label {
        font-weight: 600;
        margin-right: 10px;
    }

    .main-container .conversion-type select {
        padding: 8px 12px;
        border-radius: 4px;
        border: 1px solid #ddd;
        font-size: 16px;

    }

.main-container .progress-container {
    width: 100%;
    background-color: #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    margin: 20px 0;
    height: 40px;
}

.main-container .progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #4CAF50, #2ECC71);
    border-radius: 8px;
    transition: width 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.main-container .status-panel {
    background-color: #f1f8ff;
    border-left: 4px solid #3498db;
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
    min-height: 60px;
    display: flex;
    align-items: center;
}

.main-container #status {
    font-weight: 600;
    font-size: 18px;
    flex-grow: 1;
}

.main-container .task-id {
    background-color: #e0f7fa;
    color: #00838f;
    padding: 5px 10px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 14px;
}

.main-container .controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.main-container button {
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.main-container #startBtn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    box-shadow: 0 4px 6px rgba(52, 152, 219, 0.3);
}

    .main-container #startBtn:hover {
        background: linear-gradient(135deg, #2980b9, #2573a7);
        transform: translateY(-2px);
    }

    .main-container #startBtn:disabled {
        background: #bdc3c7;
        box-shadow: none;
        transform: none;
        cursor: not-allowed;
    }

.main-container #cancelBtn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    box-shadow: 0 4px 6px rgba(231, 76, 60, 0.3);
}

    .main-container #cancelBtn:hover {
        background: linear-gradient(135deg, #c0392b, #a93226);
        transform: translateY(-2px);
    }

    .main-container #cancelBtn:disabled {
        background: #bdc3c7;
        box-shadow: none;
        transform: none;
        cursor: not-allowed;
    }

.main-container .loading-icon {
    display: none;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
}






















footer {
    height: 60px;
    border-top: 1px solid #CCC;
    background: #FFF;
    color: white;
    padding: 10px;
    text-align: center;
}

    footer .beiAn {
        text-align: center;
        padding-top: 10px;
    }



    footer .YouLian {
        border: #ccc 1px solid;
        background: linear-gradient(180deg, #f5f5f5, #FAFAFA);
        padding: 10px 25px;
        font-size: 12px;
        border-top: 1px solid #CCC;
    }

        footer .YouLian a {
            margin: 10px;
        }

    footer .footer_em {
        padding: 0 10px;
    }

    footer .wechat {
        color: #07c160;
        position: relative;
        border: 1px solid #07c160;
        padding: 2px 10px;
        margin: 0 10px;
        background: #def4e9;
    }

        footer .wechat:hover .wechat_qrcode {
            opacity: 1;
            visibility: visible;
        }

    footer .wechat_qrcode {
        z-index: 500;
        position: absolute;
        left: -10px;
        bottom: 120%;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
        padding: 10px;
        border: 1px solid #CCC;
        background: #F9F9F9;
    }

        footer .wechat_qrcode img {
            width: 100px;
            height: 100px;
        }











/* 默认链接 */
a, .a {
    color: #515151;
    text-decoration: none;
    cursor: pointer;
}

    a:hover, .a:hover {
        color: #7511f4;
        text-decoration: underline;
    }

    a:visited, .a:visited {
    }

    a:active, .a:active {
        color: #4e00ff;
        outline: 1px dashed #4e00ff;
    }



.bt1 {
    padding: 8px 25px;
    background: #8e3af8;
    color: #FFF;
    border: 0;
    border-radius: 30%;
    cursor: pointer;
    font-size: 16px;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
}

    .bt1:hover {
        background: #7511f4;
        box-shadow: 0 0 5px 0px #BBB;
    }

.bt2 {
    padding: 10px 15px;
    border: 1px solid #EEE;
    background: #9639f7;
    color: #FFF;
    cursor: pointer;
    border-radius: 1px;
    letter-spacing: 1px;
    font-size: 15px;
    user-select: none;
    border-radius:5px;
}

    .bt2:hover {
        box-shadow: 0 0 10px 1px #AAA;
    }

.bt2a {
    padding: 9px 15px;
    border: 1px solid #9639f7;
    color: #9639f7;
    cursor: pointer;
    border-radius: 1px;
    letter-spacing: 1px;
    font-size: 15px;
    user-select: none;
}

    .bt2a:hover {
        color: #9639f7;
        box-shadow: 0 0 10px 1px #AAA;
    }





.bt3 {
    background: #fb2d53;
    color: #FFF;
    border: 1px solid #FFF;
    cursor: pointer;
    border-radius: 5px;
    letter-spacing: 1px;
    user-select: none;
    font-size: 15px;
    padding: 10px 15px;
}

    .bt3:hover {
        box-shadow: 0 0 10px 1px #ffadad;
    }

.bt4 {
    background: #d3c0ff;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: bold;
    color: #393939;
    padding: 5px 25px;
    cursor: pointer;
    text-decoration: none;
}

    .bt4:hover {
        color: #FFF;
        background: #7511f4;
        text-decoration: none;
    }

.bt5 {
background: #d3c0ff;
border-radius: 5px;
color: #393939;
padding: 5px 12px;
border: none;
cursor: pointer;
text-decoration: none;
}

.bt5:hover {
    color: #FFF;
    background: #7511f4;
    text-decoration: none;
}


.bt6 {
    color: #FFF;
    background: #42b1fb;
    border-radius: 5px;
    padding: 5px 12px;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

    .bt6:hover {
        color: #FFF;
        background: #0099ff;
        text-decoration: none;
    }
/* 两个上传文件按钮 */

/*  消息盒子  */
#messageBox {
    letter-spacing: 1px;
    font-size: 15px;
    line-height: 160%;
    display: none;
    position: fixed;
    top: 20%;
    left: 35%;
    background-color: #d3e3fd;
    border: 1px solid #be8bff;
    padding: 10px 80px 10px 50px;
    border-radius: 3px;
    box-shadow: 0 0 20px 2px #999;
    max-height: 500px;
    overflow-y: auto;
    z-index: 1000;
}

    #messageBox label.close {
        position: absolute;
        color: #F66;
        width: 20px;
        height: 20px;
        border: none;
        top: 0;
        right: 0;
        font-size: 15px;
        background: transparent;
    }

        #messageBox label.close:hover {
            color: #F00;
        }







/* 窗口样式 */

.popup {
    position: fixed;
    background-color: white;
    box-shadow: 0 0 25px rgba(100,100,100,0.6);
    overflow: auto;
    z-index: 2000;
    display: inline-block;
}

    .popup .popup_header {
        background-color: #d3c0ff;
        padding: 7px 0 5px 12px;
        cursor: move;
        user-select: none;
        position: relative;
        font-size: 15px;
    }

        .popup .popup_header:active {
            background-color: #7511f4;
            color: #FFF;
        }

    .popup .popup_content {
        padding: 0;
    }

        .popup .popup_content > iframe {
            border: 0;
        }

    .popup .popup_close {
        position: absolute;
        top: -2px;
        right: 2px;
        cursor: pointer;
        background: none;
        border: none;
        font-size: 30px;
        width: 30px;
        height: 30px;
    }

        .popup .popup_close:active {
            color: #F00;
        }



/* 整体选项卡容器样式 开始 */
.tab {
    overflow: hidden;
    background-color: #ebeef1;
}

    /* 选项卡导航栏样式 */
    .tab .tab_nav {
        list-style-type: none;
        padding: 0;
        margin: 0;
        display: flex;
    }

    .tab .tab_item {
        padding: 10px 20px;
        cursor: pointer;
        font-size: 14px;
        letter-spacing: 1px;
    }

        .tab .tab_item:hover {
            text-decoration: underline;
        }


        .tab .tab_item.active {
            background-color: #FFF;
            border-bottom: 1px solid #FFF;
            font-weight: bold;
        }

    .tab .tab_panel {
        background-color: #FFF;
        padding: 10px 0 0 10px;
        display: none;
        border-right: 1px solid #eee;
    }

        .tab .tab_panel.active {
            display: block;
        }




.tip {
    display: inline-block;
    position: relative;
    cursor: pointer;
    margin: 0 4px;
}

    .tip::before {
        content: "?";
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 15px;
        height: 15px;
        font-size:13px;
        color: rgba(0,130,218,0.5);
        border: 1px solid rgba(0,130,218,0.3);
        border-radius: 50%;
        transition: all 0.1s ease;
    }

    .tip:hover::before {
        border-color: rgba(0,130,218,1);
        color: rgba(0,130,218,1);
        /* transform: scale(1.1); */
    }

    .tip::after {
        content: attr(data-tip);
        position: absolute;
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(0px);
        background: #edfce2;
        border: 1px solid #6c7c4a;
        color: #2c3e50;
        padding: 8px 16px;
        border-radius: 8px;
        font-size: 13px;
        width: 200px;
        min-width: 100px;
        max-width: 300px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.1s ease;
        z-index: 100;
        text-align: left;
        line-height: 1.5;
        white-space: pre-wrap;
        word-wrap: break-word;
    }

    .tip::after {
        content: attr(data-tip);
    }

    .tip:hover::after {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(5px);
    }

    .tip::after {
        white-space: normal;
    }