* {outline: 0;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;margin: 0;padding: 0;}
html {font: normal 16px "微软雅黑";-webkit-text-size-adjust: 100%}
body {padding: 20px 0 0;margin: 0 auto;min-height: 100vh;color: #333;font-size: 14px;color: #000;background-color: #eef6ff;font-family: "XiaoMingChaoPro";
    -webkit-text-size-adjust: none;
    /*取出点击出现半透明的灰色背景*/
    -webkit-tap-highlight: rgba(0,0,0,0); position: relative;
}
input[type="button"],
input[type="submit"],
input[type="reset"] {-webkit-appearance: none;}
ul,ul li {list-style: none;}
table {border-collapse: collapse;border-spacing: 0}
table td {border-collapse: collapse;}
select, input, textarea {font-size: 14px;color: #333;border-radius: 0;-webkit-border-radius: 0;}
img{border: none;max-width: 100%;vertical-align: middle;}

.container {
    max-width: 1100px!important;
    margin: 0 auto;
}

header {
    color: #6d7179;
    padding: 40px;
    text-align: center;
}

header h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: #3a86ff;
    font-weight: bold;
    flex-direction: column;
}

header p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0 auto;
}

.main-content {
    padding: 0 0 40px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 11px 23px #b4d6fdbd;
    overflow: hidden;
}

.tool-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 10px 70px;
}

.section-header {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    flex-direction: column;
}

.section-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.section-title {
    font-size: 1.2rem;
    color: #2b4a7d;
    font-weight: bold;
}

.section-header p{
    color: #9399a2;
}

.upload-area {
    border: 2px dashed #e0e0e0;
    border-radius: 12px;
    padding: 50px 20px;
    text-align: center;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 25px;
    position: relative;
}

.upload-area:hover {
    background: #f0f4ff;
    border-color: #667eea;
}

.upload-icon {
    font-size: 3.5rem;
    color: #667eea;
}

.upload-text h3 {
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 10px;
}

.upload-text p {
    color: #666;
    margin-bottom: 20px;
}

.file-input-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #3a86ff;
    color: white;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.file-input-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

#compressFileInput, #convertFileInput {
    display: none;
}

.options {
    margin: 25px 0;
}

.option-group {
    margin-bottom: 20px;
}

.option-group h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #2b4a7d;
    font-weight: bold;
}

.quality-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.quality-btn {
    flex: 1;
    min-width: 120px;
    padding: 12px 20px;
    background: white;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 13px;
}

.quality-btn .word {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.quality-btn i.dot {
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    width: 1rem;
    height: 1rem;
}

.quality-btn:hover {
    color: #3a86ff;
}

.quality-btn.active {
    color: #3a86ff;
    font-weight: 600;
}

.quality-btn.active i.dot {
    border: 1px solid #3a86ff;
    position: relative;
}

.quality-btn.active i.dot:after {
    position: absolute;
    content: "";
    width: 0.65rem;
    height: 0.65rem;
    background: #3a86ff;
    left: 15%;
    top: 14%;
    border-radius: 50%;
}

.format-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.format-btn {
    padding: 15px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.format-btn:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.format-btn.active {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
}

.format-icon {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 10px;
}

.actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.action-btn {
    flex: 1;
    padding: 16px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.action-btn.primary {
    background: #3a86ff;
    color: white;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.action-btn.primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.action-btn.secondary {
    background: #f0f0f0;
    color: #666;
}

.action-btn.secondary:hover {
    background: #e0e0e0;
}

.action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.progress-container {
    margin-top: 20px;
    display: none;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

.file-info {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid #eaeaea;
    display: none;
}

.info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.info-label {
    color: #666;
}

.info-value {
    color: #2c3e50;
    font-weight: 500;
}

.result {
    background: #e8f5e9;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid #c8e6c9;
    display: none;
}

.result.success {
    background: #e8f5e9;
    border-color: #c8e6c9;
}

.result.error {
    background: #ffebee;
    border-color: #ffcdd2;
}

.result h4 {
    color: #2e7d32;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.result-links {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.result-link {
    padding: 8px 16px;
    background: white;
    border: 1px solid #4caf50;
    border-radius: 6px;
    color: #4caf50;
    text-decoration: none;
    transition: all 0.3s ease;
}

.result-link:hover {
    background: #4caf50;
    color: white;
}

footer {
    text-align: center;
    margin: 4% 0 1%;
    color: #5e5e5e;
}

footer p {
    margin-bottom: 10px;
}

footer .nav {
    margin-bottom: 0.5rem;
}

footer .nav a:first-child {
    border-right: 1px #b8b8b8 solid;
    padding-right: 0.5%;
}

footer .nav a:last-child {
    padding-left: 0.3%;
}

.tech-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.badge {
    padding: 5px 12px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #666;
}

/* 主标签页样式 */
.main-tab-navigation {
    display: flex;
    border-radius: 10px;
    margin-bottom: 30px;
    gap: 10px;
}

.main-tab-btn {
    flex: 1;
    padding: 26px 30px;
    text-align: center;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: #6d7179;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.main-tab-btn:hover {
    background: #dbe9ff;
}

.main-tab-btn.active {
    background: #dbe9ff;
    color: #3a86ff;
    
}

.main-tab-content {
    display: none;
}

.main-tab-content.active {
    display: block;
}

/* 子标签页样式（用于PDF转换内部的标签） */
.tab-navigation {
    display: flex;
    background: #f1f3f4;
    border-radius: 10px;
    padding: 5px;
    margin-bottom: 30px;
}

.tab-btn {
    flex: 1;
    padding: 15px;
    text-align: center;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: #666;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: white;
    color: #667eea;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.warning-box {
    background: #fff3cd;
    border: 1px solid #ffecb5;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    color: #856404;
}

.warning-box i {
    margin-right: 10px;
}

/* 调试信息 */
.debug-info {
    position: fixed;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 10px;
    border-radius: 5px;
    font-size: 12px;
    z-index: 1000;
    display: none;
}

@media(max-width:1600px){

}
@media(max-width:520px){

}
















