/* PDF加密/解密工具样式 */
.pdf-section {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* 标签页 */
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
}

.tab-btn {
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: #718096;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn:hover {
    color: #667eea;
}

.tab-btn.active {
    color: #667eea;
    border-bottom-color: #667eea;
}

/* 上传区域 */
/* PDF信息 */
.pdf-info-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    margin-top: 15px;
}

.pdf-details {
    flex: 1;
}

/* 密码输入 */
.password-group {
    margin-top: 20px;
}

.password-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.password-input-wrapper {
    position: relative;
}

.password-input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
}

.password-input:focus {
    outline: none;
    border-color: #667eea;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #718096;
    cursor: pointer;
    font-size: 16px;
}

.password-toggle:hover {
    color: #667eea;
}

.password-hint {
    font-size: 12px;
    color: #718096;
    margin-top: 5px;
}

/* 操作按钮 */
/* 响应式 */
@media (max-width: 768px) {
    .tabs {
        flex-direction: column;
        gap: 0;
    }
    
    .tab-btn {
        border-bottom: 1px solid #e2e8f0;
        border-left: 3px solid transparent;
    }
    
    .tab-btn.active {
        border-bottom-color: #e2e8f0;
        border-left-color: #667eea;
    }
    
    }